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!

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