Splunk Search

how to display time of event as a table column

seanlon11
Path Finder

I have the following query:

host=wps03 mc_getLDAPGroupsTimer | table time host username mc_getLDAPGroupsTimer | sort -mc_getLDAPGroupsTimer

I am trying to get the date and time to display in the table, so I can see what happened when, but I obviously have the syntax incorrect. Or, maybe this is not possible for some logical reason.

How can I display the date and time of an event in a table?

Thanks, Sean

Tags (1)
1 Solution

southeringtonp
Motivator

You have the right idea, but you appear to be missing the underscore at the beginning of the _time field.

View solution in original post

southeringtonp
Motivator

You have the right idea, but you appear to be missing the underscore at the beginning of the _time field.

seanlon11
Path Finder

Awesome, worked like a charm!

Get Updates on the Splunk Community!

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...