Getting Data In

Get source machine timezone in events

Vikas_Sharma
Explorer

Is there a way (if possible) to stamp the time zone of the machine running universal forwarder in the events (Windows eventlogs)? Both our indexers and UFs are on V6 and we get the source machine timestamp in Splunk. We are interested in getting the source machine timezone which can be helpful if we plan to forward the data to third party apps.

0 Karma

woodcock
Esteemed Legend

Splunk supplies you with what it interpreted the TZ to be for each event in the date_zone field. If this value is local, then the TZ of the indexing server (in the splunk_server field) was used.

0 Karma

Vikas_Sharma
Explorer

Thank you for the response.

The date_zone field is empty for the events. How can I set it up? Is it by using TZ in local/props.conf on the indexer, I tried it but it never worked (tried with [source::*] and [] as well).

[host::]
TZ=US/Eastern

0 Karma

woodcock
Esteemed Legend

This means that they came in from a modular input and it was probably timestamped with the the time that it was indexed or it was a WinEventLog:* and I don't know what those timestamps do.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...