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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...