Getting Data In

Why am I getting error "Failed to parse timestamp" with my current TIME_FORMAT?

perftechy
New Member

This may have been asked before, but I can't find answer that solves my problem.

First time using Splunk community edition. I upload a file with json records, each record has many fields, two of them are timestamp related:

createdAt: 2014/11/16 19:21:04 +0000
updatedAt: 2014/11/16 19:22:15 +0000

I used Timestamp format: %Y/%m/%d %H:%M:%S +0000

But I got error:

Could not use strptime to parse timestamp from ...Failed to parse timestamp. Defaulting to file modtime

Any idea what I have done wrong. Thanks.

0 Karma

woodcock
Esteemed Legend

You should use this:

TIME_FORMAT = %Y/%m/%d %H:%M:%S %z
0 Karma
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...