Getting Data In

Why are events being indexed appearing to be timestamped in the future?

dougmair
Explorer

I have events that are being indexed and appearing to be timestamped in the future. The raw events contain a timezone:

2016 Sep 27 14:11:00:999 GMT +1 DOUGTEST2.C2020Tmp-Process_Archive user [BW-User]  Job-9999 C2020GetOfferByIdWS Completed

In props.conf I have:

 TIME_FORMAT=%Y %b %d %H:%M:%S.%3N %Z %:::z 

The event appears in search showing 15:11 as the time _time = 2016-09-27T15:11:00.999+01:00. The event actually happened at 14:11 British Summer Time which is GMT +1 which is what is shown in the raw event. I have my user settings at the correct timezone (GMT:London), my user locale is en_GB in the Splunk Cloud URL and all data from other data sources is showing up correctly in the indexes.

The data is going from a Universal Forwarder to a Heavy Forwarder (where the props.conf is set) and then on to Splunk Cloud.

I have tried adding a TZ = Europe/London to props.conf but that doesn't fix it.

Where am I going wrong here?

0 Karma
1 Solution

dougmair
Explorer

Found it. Time format had a dot rather than a colon in before the milliseconds. Fixed that and event time are now all good.

View solution in original post

0 Karma

dougmair
Explorer

Found it. Time format had a dot rather than a colon in before the milliseconds. Fixed that and event time are now all good.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...