I have a certain host that sends several logs from multiple sources using the Linux Universal Forwarder. Most of these logs are written in the host and then to Splunk as UTC although the host is configured with the correct local time. How do I get Splunk to display the local time zone instead of UTC?
All records added to splunk should be added in UTC. Each user can change the display time to their local preference, but the underlying records should always be converted to UTC on ingestion.
Go to your user preference screen and set your time zone preference.
That's already set accordingly, however, a few log sources from 1 host are still listed under the Search & Reporting as UTC.
Specify the local time zone using TZ =
in the forwarder's props.conf file.