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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...