Refine your search:

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

asked 07 Apr '11, 13:25

seanlon11's gravatar image

seanlon11
16318
accept rate: 0%

edited 07 Apr '11, 14:03

dwaddle's gravatar image

dwaddle ♦
11.2k1516


One Answer:

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

link

answered 07 Apr '11, 14:03

southeringtonp's gravatar image

southeringtonp ♦
4.5k1215
accept rate: 35%

1

Awesome, worked like a charm!

(07 Apr '11, 14:11) seanlon11
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×36

Asked: 07 Apr '11, 13:25

Seen: 693 times

Last updated: 07 Apr '11, 14:03

Copyright © 2005-2012 Splunk, Inc. All rights reserved.