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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...