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 Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...