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!

Enterprise Security Content Update (ESCU) | New Releases

In January, the Splunk Threat Research Team had one release of new security content via the Splunk ES Content ...

Expert Tips from Splunk Professional Services, Ensuring Compliance, and More New ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Observability Release Update: AI Assistant, AppD + Observability Cloud Integrations & ...

This month’s releases across the Splunk Observability portfolio deliver earlier detection and faster ...