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!

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, ...