Site Search

The order in which timestamps are recognized

release date
2018-06-18
last updated
2024-01-11
version
Splunk Enterprise 9.0.0
Overview
Explains the order and specifications for recognizing timestamps.
Reference information
content

Order and specifications for recognizing timestamps

Splunk tries to recognize timestamps in the following order:

  • When there is date and time information in the event

①If "TIME_FORMAT" is specified in props.conf
Attempts to find a timestamp within the event using the specified "TIME_FORMAT".

②If "TIME_FORMAT" is not specified in props.conf
It tries to recognise the timestamp from within the event.

  • If there is no date and time information in the event

Attempts to recognize the most recent timestamp fetched from the same source.

  • If the source does not contain date and time information

Splunk will attempt to recognize timestamps from source and file names.

  • If there is no date and time information in the file name

It tries to recognize the last modified time of the file as a timestamp.

  • I try to use datetime.xml to recognise the timestamp from the event.
  • If the timestamp cannot be recognized even in 1-5 above

Recognizes the system time of the Splunk server as a timestamp.
(Captured time = timestamp of the event)

that's all