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!

Index This | What’s a riddle wrapped in an enigma?

September 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

BORE at .conf25

Boss Of Regular Expression (BORE) was an interactive session run again this year at .conf25 by the brilliant ...

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...