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!

Splunk Forwarders and Forced Time Based Load Balancing

Splunk customers use universal forwarders to collect and send data to Splunk. A universal forwarder can send ...

NEW! Log Views in Splunk Observability Dashboards Gives Context From a Single Page

Today, Splunk Observability releases log views, a new feature for users to add their logs data from Splunk Log ...

Last Chance to Submit Your Paper For BSides Splunk - Deadline is August 12th!

Hello everyone! Don't wait to submit - The deadline is August 12th! We have truly missed the community so ...