Getting Data In

How to set SplunkWeb not follow local timezone?

hochit
Path Finder

In Splunk web, I found the timestamp column in the result list has been adjusted by local time difference.

How can I force it to stick with log event time?

Tags (2)
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

You need to make sure to specify what the timezone of the data is, using the TZ setting in props.conf or setting the TIME_FORMAT if the timezone is explicitly in the data. Splunk will always convert the timestamp internally to UTC/GMT, with the assumption that unspecified timezone data has the timezone of the indexer, and the display will always be formatted to the timezone of the search head.

View solution in original post

gkanapathy
Splunk Employee
Splunk Employee

You need to make sure to specify what the timezone of the data is, using the TZ setting in props.conf or setting the TIME_FORMAT if the timezone is explicitly in the data. Splunk will always convert the timestamp internally to UTC/GMT, with the assumption that unspecified timezone data has the timezone of the indexer, and the display will always be formatted to the timezone of the search head.

Get Updates on the Splunk Community!

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened Audit Trail v2 wasn’t written in isolation—it was shaped by your voices. In ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

 Prepare to elevate your security operations with the powerful upgrade to Splunk Enterprise Security 8.x! This ...

Get Early Access to AI Playbook Authoring: Apply for the Alpha Private Preview ...

Passionate about security automation? Apply now to our AI Playbook Authoring Alpha private preview ...