- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to identify uniqe field value from a log files
dilstn
Explorer
03-08-2013
01:22 AM
there is a logs that as same timestamp , in which i have to identify the unique user id from the logs (i,e) I have to create count of users logged in (unique user entry) count
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
eashwar
Communicator
03-26-2013
07:15 AM
<\yoursearch> | dedup userid | stats count AS "TOTAL Number of Users Logged in"
or
<\yoursearch> | stats count by userid
<\yoursearch> should have the field userid extracted out from the event. you should comment the event so that i can help you in extraction.
happy splunking
yours,
eashwar raghunathan
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
martin_mueller

SplunkTrust
03-08-2013
01:38 AM
Telepathy tells me rex "whatever" | stats dc(user_id)... beyond that, what Ayn said.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ayn
Legend
03-08-2013
01:27 AM
Please give us MUCH more details about the logs, what you're trying to do, what you tried but didn't work, etc etc...
