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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...