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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...