Getting Data In

How to ignore timezone offset in timestamp?

rrich
Explorer

Hi there,

I have an application that is incorrectly reporting the current timezone is GMT -0500 with timestamps of the following form:

[29/Oct/2010:15:59:50 -0500]

(Currently we're on EDT which is -0400)

Is there a way i can accept the timestamp but ignore the offset? Currently all events are marked an hour in the future?

Thanks!

Tags (2)
0 Karma
1 Solution

southeringtonp
Motivator

You can set an explicit time format in props.conf and leave the timezone offset out.

Take a look at:
     http://www.splunk.com/base/Documentation/latest/Admin/Configuretimestamprecognition

and look specifically at the TIME_FORMAT option.

View solution in original post

0 Karma

southeringtonp
Motivator

You can set an explicit time format in props.conf and leave the timezone offset out.

Take a look at:
     http://www.splunk.com/base/Documentation/latest/Admin/Configuretimestamprecognition

and look specifically at the TIME_FORMAT option.

0 Karma

kmanson
Path Finder
0 Karma

rrich
Explorer

Awesome. Thank you!

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...