All Apps and Add-ons

How to report by time stamp and fields

gancw1
Explorer

Hi, I am new to splunk.
I would like to generate a report that just list all records which certain criteria e.g. status='success' and list the time stamp and 'userid' field.

Time                          Userid
1 7/10/13 12:00:00.000 AM     daveq 
2 7/11/13 12:00:00.000 AM     julesx
3 7/12/13 12:00:00.000 AM     janeo
....
....
Tags (1)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee
status=success | table _time userid
0 Karma

pradeepkumarg
Influencer

index=my_index status=success | stats count by _time, Userid | fields _time, Userid

lukejadamec
Super Champion

If you all events, then don't dedup userID and table it:
index=my_index status=success | table _time,userID

0 Karma

lukejadamec
Super Champion

If you don't want a count, then dedup userID and table it:

index=my_index status=success | dedup userID | table _time,userID

0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...