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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...