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!

Splunk Enterprise Security: Your Command Center for PCI DSS Compliance

Every security professional knows the drill. The PCI DSS audit is approaching, and suddenly everyone's asking ...

Developer Spotlight with Guilhem Marchand

From Splunk Engineer to Founder: The Journey Behind TrackMe    After spending over 12 years working full time ...

Cisco Catalyst Center Meets Splunk ITSI: From 'Payments Are Down' to Root Cause in ...

The Problem: When Networks and Services Don't Talk Payment systems fail at a retail location. Customers are ...