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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...