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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...