Getting Data In

"Failed to parse Timestamp. Defaulting to file modtime"- Error message

nandhini_amir
Engager

Hi,

It will be so helpful for me, if anybody could give a solution to the following question

When i am trying to parse the data into splunk before indexing, the timestamp of the events were not identified properly and it is showing "Failed to parse timestamp. Defaulting to file modtime" what should i do now to resolve this.

The timestamp in the log events are in the format of 201908162035357024.00 that is 2019-08-16 20:35:35

Tags (1)
0 Karma

harsmarvania57
Ultra Champion

Hi,

You can use below configuration on Indexer to parse timestamp correctly. Below configuration will parse 20190816203535702 . Can you please confirm whether timestamp in raw event is at starting point ? If yes then you can add TIME_PREFIX = ^ in below configuration.

props.conf

[yourSourcetype]
TIME_FORMAT = %Y%m%d%H%M%S%3N
MAX_TIMESTAMP_LOOKAHEAD = 17
0 Karma

nandhini_amir
Engager

yes, the timestamp is in starting point. Thanks i will check this and will find how it works

0 Karma
Get Updates on the Splunk Community!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

New Release | Splunk Cloud Platform 10.1.2507

Hello Splunk Community!We are thrilled to announce the General Availability of Splunk Cloud Platform 10.1.2507 ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...