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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...