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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...