- Community Home
- >
- Networking
- >
- IMC
- >
- Re: UAM eAPI: Filter authFail list by distinct/uni...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2014 02:24 PM
тАО04-26-2014 02:24 PM
This is the URL I'm visiting: http://localhost:port/imcrs/uam/authFail?desc=true&orderBy=occureTime
This is close to what I want. I get back a list of many failed authentications, and most of them have the same mac address. I'd like to cut it down so I only see each unique mac address once, with the latest timestamp. Is this possible?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2014 10:16 AM
тАО04-28-2014 10:16 AM
Re: UAM eAPI: Filter authFail list by distinct/unique mac address
I recently ran into a similar challenge.
this should help with your specific query:
or a short guide on the new online eAPI docs (but these are lacking uam functions at this point, so no help for this request right now):
http://abouthpnetworking.com/2014/04/26/imc-e0202-eapi-online-documentation-and-testing/
or try contacting hp support for the manual
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2014 10:55 AM
тАО04-28-2014 10:55 AM
Re: UAM eAPI: Filter authFail list by distinct/unique mac address
Ah yeah, thanks for the links, those are helpful. I've been poking around at "/imcrs/application.wadl" in order to see the UAM routes, but even this chinese documentation is better than none at all.
Unfortunately, I don't see a way to filter the returned query by unique mac addresses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2014 11:52 AM
тАО04-28-2014 11:52 AM
Re: UAM eAPI: Filter authFail list by distinct/unique mac address
doc says for query filter:
loginMac Users MAC address
But have not been able to test ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2014 11:57 AM
тАО04-28-2014 11:57 AM
Re: UAM eAPI: Filter authFail list by distinct/unique mac address
Most of these records have identical macAddresses, so I want to eliminate all but one of each unique address... e.g., for a list of [1,2,2,3], I want to get only [1,2,3].
Sorry if my first post was confusing!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2014 12:04 PM
тАО04-28-2014 12:04 PM
SolutionI see what you mean (after re-reading your original request :) ).
That will not be possible directly from the eAPI, but since you have the xml output, it should be quite simple to parse the xml output from the eAPI and get only the unique records / latest failed login (using your preferred xml parser).
I personally use a lot of powershell and I know it can be done that way quite easily (since xml file can be loaded as a database, so you only need to filter the db on unique records)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2014 12:12 PM
тАО04-28-2014 12:12 PM