Getting Data In

How to adjust timestamps for some sources coming from the universal forwarder?

bigfatyeastroll
Path Finder

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?

0 Karma

DalJeanis
SplunkTrust
SplunkTrust

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.

0 Karma

bigfatyeastroll
Path Finder

That's already set accordingly, however, a few log sources from 1 host are still listed under the Search & Reporting as UTC.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Specify the local time zone using TZ = in the forwarder's props.conf file.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Observability | How to Think About Instrumentation Overhead (White Paper)

Novice observability practitioners are often overly obsessed with performance. They might approach ...

Cloud Platform | Get Resiliency in the Cloud Event (Register Now!)

IDC Report: Enterprises Gain Higher Efficiency and Resiliency With Migration to Cloud  Today many enterprises ...

The Great Resilience Quest: 10th Leaderboard Update

The tenth leaderboard update (11.23-12.05) for The Great Resilience Quest is out >> As our brave ...