Getting Data In

TIMEֹֹ_FORMAT configuration

rayar
Contributor

I have a date like May 10 2020 11:20 PM in csv file

Defined in props.conf
TIME_FORMAT - %b %d %Y %I:%M %p

but getting "Failed to parse timestamp"

what I am missing ?

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Please share ALL of the props.conf settings for the sourcetype. Please also share a sample of the CSV file.

---
If this reply helps you, Karma would be appreciated.
0 Karma

to4kawa
Ultra Champion
| makeresults
| eval _raw="May 10 2020 11:20 PM"
| eval _time=strptime(_raw,"%b %d %Y %I:%M %p")

TIME_FORMAT is good.
maybe, timestamp recognition is bad.

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 ...