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
Legend

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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...