Getting Data In

Times Unchanged For Newly Indexed Data After Time Zone Config Changes

mj9999
New Member

I am using splunk-5.0.4-172409-x64 for Windows and can't get the time zone to offset from GMT to CDT. I have changed to central time in my user settings as well as made recommended changes to the props.conf file.

I do not expect these changes to affect old data. But newly indexed data is unaffected by the changes.

Tags (1)
0 Karma

BenAveling
Path Finder

If you change the timezone for the user it should affect the display of all data, old and new. But it won't change what is stored, either for old or new data.

If you change the central timezone, or the timezone for a particular stream of log data, then that should change the timezone of any new data that is not explicitly stamped with a timezone. Events that already contain their own timezone will not be affected, nor will old events, if I understand what you are asking.

0 Karma

yannK
Splunk Employee
Splunk Employee

Is there already a timezone in the events ?
check the result with
host=myhost | convert ctime(_indextime) AS indextime | table _time indextime date_zone _raw

0 Karma

mj9999
New Member

\etc\system\local

[host::myhost]
TZ = CDT

Yes, restarted.

0 Karma

lukejadamec
Super Champion

What are the input types, which props.conf file did you edit, what did you put in props.conf, did you restart splunk?

0 Karma
Get Updates on the Splunk Community!

Faster Insights with AI, Streamlined Cloud-Native Operations, and More New Lantern ...

Splunk Lantern is a Splunk customer success center that provides practical guidance from Splunk experts on key ...

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