QuestionQ36

VerifiedParsing Phase and Data

An administrator is setting up timestamp extraction for this event:

[13:11:08] [main/forge] Diamonds are blue

Which configuration will correctly extract the timestamp?

Explanation

TIME_PREFIX = \[ matches the opening square bracket immediately before the timestamp. %T parses a time in HH:MM:SS form, and 13:11:08 is eight characters long, so MAX_TIMESTAMP_LOOKAHEAD = 8 precisely covers the timestamp. Splunk applies the lookahead starting at the position established by TIME_PREFIX.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!