Getting Data In

Splunk is ignoring timestamp and using indexing time

colin_ewen
New Member

I'm running into an issue with Splunk ignoring the timestamp in a specific log and just using current indexing time. Example extract(XXXX and #### replace letters and numbers)

[2011-09-27-04-03-54][XXXX::IA::Actions][####]: BUYER_EMAIL_INVOICES_ADDRESS: []

[2011-09-27-04-03-54][XXXX::IA::Actions][####]: BUYER_LANGUAGE_ID: [25]

[2011-09-27-04-03-54][XXXX::IA::Actions][####]: BUYER_DATE_FORMAT_ID: [1]

Format is %Y-%m-%d-%H-%M-%S

I've attempted the below dateformat to resolve this (there is a backslash escaping the [ below, it's being removed):

TIME_PREFIX = [

TIME_FORMAT = %Y-%m-%d-%H-%M-%S

Unfortunately, no luck, and it's still showing up with the indexing time.

Any help on this? I'm running into a wall.

Tags (1)
0 Karma

_d_
Splunk Employee
Splunk Employee

Colin, try placing a ^ (to indicate the beginning of the line) in front of the backslash escaping your left bracket in TIME_PREFIX.

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

Where exactly did you place these lines of configuration?

0 Karma

colin_ewen
New Member

I've adjusted props.conf on the backend, but it did not work properly. At this point, it now groups them into chunks of 16 lines as a single event and continues to give them the wrong timestamp.

0 Karma

gkanapathy
Splunk Employee
Splunk Employee
0 Karma

colin_ewen
New Member

I added them to the props.conf on the forwarder. Should the props.conf be added to the indexer too, or just the forwarder?

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...