- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Norling80
Path Finder
10-10-2014
02:41 PM
Hi
I´m trying to create a search that basically count the number of unique UserId generated over a certain time in the userlog, the UserId consist of 5 digits for example 12345 or 79365 etc.. need help to finalize it.
The search begins like this...
index=main sourcetype=userlog UserId="*" | ...?
regards
Magnus
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
aweitzman
Motivator
10-10-2014
02:50 PM
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Norling80
Path Finder
10-10-2014
03:23 PM
Thanks a lot, that worked.
/Magnus
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
aweitzman
Motivator
10-10-2014
02:50 PM
| stats dc(UserId)
should do the trick for you.
