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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...