Getting Data In

Event and log timestamps are off by a bit

sprimerib
New Member

Local splunk server timezone is GMT. Incoming firewall logs are in Eastern. But when I query, the times are off when comparing the Time and Event columns.

(can't add screen shot because of "points"):

Time column:
6/19/18 11:02:33.000 PM

Event column:
Jun 19 18:02:33 192.168.100.1 Jun 19 2018 14:02:33

Local time for me is 2:02 PM.

What is the best way to resolve this?

Tags (2)
0 Karma

solarboyz1
Builder

It appears your events have two timestamps:

Jun 19 18:02:33 192.168.100.1 Jun 19 2018 14:02:33

I normally see this when syslog receives and adds a timestamp to the events received remotely.

Assuming the 14:02 timestamp is EST, then it appears the first timestamp is MST (EST + 2)
Splunk always attempts to offset the time to GMT.

My guess is that Splunk is applying an offset at index time, in an attempt to make the time GMT.
Then its offsetting again at search time, based on your TZ preference.

It appears you need to fix your props to apply the correct TZ for this source, or extract the correct timestamp.

0 Karma
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...