Getting Data In

Adjusting data in GMT time zone so that splunk recognizes it

OMohi
Path Finder

Is there a way to tell Splunk what time zone the data is in so it a query run for ET automatically grabs the records with the correct adjustment for GMT? For example, if we ask for data from midnight to midnight, Splunk would automatically know to add 4 hours to adjust the time from GMT to ET.

I have recognized a way on how to address the time zone disparity by editing the props as follows. But not sure whether this will work or not. The servers are sending data in GMT time zone whereas Splunk instances are on EST time zone.

[sourcetype]
TZ = GMT

Please let me know.

Tags (2)
0 Karma

woodcock
Esteemed Legend

You have done half the job in aligning your data so Splunk knows your events' TZ but you also have to tell it your TZ by setting it in Your Name -> Settings -> Time zone.

0 Karma

somesoni2
Revered Legend

If you've setup the props.conf as mentioned in the question on Indexer/Heavy Forwarder, Splunk should attach proper/adjusted _time value to events. The timerange of the search should take the adjusted _time value and display result. Did you try to search data and what was it doing?

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...