Getting Data In

How to create a props.conf file for time format

bnichols024
New Member

My timestamp is appearing as such:

2019-12-10T18:13:42-05:00

My props.conf file looks like this:

TIME_FORMAT=%Y-%m-%dT%H:%M:%S-%:z

Is this correct? Some of my indexes are presenting a really strange date compared to the time stamp but I think the devices they are coming from my be in a different TZ. My next question would be how to convert to EST.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

The minus sign is covered by %z so all you need is TIME_FORMAT=%Y-%m-%dT%H:%M:%S%:z.

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

twinspop
Influencer

I would add use %F and %T, so %FT%T%:z

Get Updates on the Splunk Community!

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...