Archive

Time stamp configuration in props.conf

Path Finder

Hi Splunker;

How can set (TIMEPREFIX, TIMEFORMAT, and MAXTIMESTAMPLOOKAHEAD) in props.conf if there change of timestamp location in each events?

you can see the sample logs in the attachment about my different time stamp event, show different locations for each event, how can set that?

][1]

Please help me in that.

BR;

Tags (1)
0 Karma
1 Solution

Path Finder

The examples you posted look like you could trust Splunk to find the timestamps automatically. However, if you want to do it manually then you are going to need to create a xml file with the various timestamps and reference it in props.conf.

[mysourcetype]
DATETIMECONFIG = /etc/system/local/customdatetime.xml

Documentation

View solution in original post

Path Finder

The examples you posted look like you could trust Splunk to find the timestamps automatically. However, if you want to do it manually then you are going to need to create a xml file with the various timestamps and reference it in props.conf.

[mysourcetype]
DATETIMECONFIG = /etc/system/local/customdatetime.xml

Documentation

View solution in original post