Getting Data In

Change timezone props.conf

TheBravoSierra
Path Finder

Hi,

I need help adding a line in my props.conf file that will convert lastupdatedt time from UTC to Mountain time. Example extracted from an event below:

 "lastupdatedt":"2021-01-26 11:32:46"

Thanks

Labels (2)
0 Karma
1 Solution

scelikok
SplunkTrust
SplunkTrust

Hi @TheBravoSierra,

Please try below;

[your_sourcetype]
TIME_PREFIX = \"lastupdatedt\":\"
TIME_FORMAT = %Y-%m-%d %H:%M:%S
TZ = UTC
If this reply helps you an upvote and "Accept as Solution" is appreciated.

View solution in original post

scelikok
SplunkTrust
SplunkTrust

Hi @TheBravoSierra,

Please try below;

[your_sourcetype]
TIME_PREFIX = \"lastupdatedt\":\"
TIME_FORMAT = %Y-%m-%d %H:%M:%S
TZ = UTC
If this reply helps you an upvote and "Accept as Solution" is appreciated.
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...