Getting Data In

Time zone config not working as expected

DavidCaputo
Path Finder

Hello,
I'm trying to configure an ingestion of logs that are in UTC time.
We are in Geneva and timezone is Europe/Zurich (=UTC+2), so, logs are displayed with the wrong date.

For example, log ingested at 14:52 today is displayed in Splunk like this :

 

 

2023-07-05 12:52:40 ..

 

 

These logs are coming from a simple UF (Windows, UF version is 8.2.4). My Splunk environment is Linux (RedHat 8 / Splunk version is 9.0.4)

As documented, I tried to add in a props.conf something like this :

 

 

[source::D:\path\to\file.log]
TZ = Europe/Zurich

 

 

First I added it in the UF configuration. No effect.
Then I tried to put it on indexers. No effect.

I also tried to use the sourcetype name ([my_sourcetype] ) instead of the source path or replace the Europe\Zurich value with "TZ = UTC+2"... it didn't work any better.

Help would be appreciated !
Thanks
David

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...