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!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...