- Community Home
- >
- Networking
- >
- IMC
- >
- Re: UAM eAPI: Filter authFail list by distinct/uni...
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- Report Inappropriate Content
04-28-2014 12:12 PM
04-28-2014 12:12 PM
Re: UAM eAPI: Filter authFail list by distinct/unique mac address
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP