Getting Data In

Timestamp issues

skirkpatrick
New Member

I have a timestamp that is not coming incorrectly. Splunk is reading the seconds portion of time in my event as minutes.

COMPUTER1, 09/15/2014, 0:00:01 comes across as

9/15/2015 12:01:00 AM

How do I get it to see the seconds as seconds and not minutes?

Tags (1)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Use these settings in props.conf for that sourcetype:

...
MAX_TIMESTAMP_LOOKAHEAD=30
TIME_FORMAT=%m/%d/%Y, %k:%M:%S
TIME_PREFIX=^\S+,

The important bit is the %k for hours not prefixed by a zero when in single digits, by default Splunk looks for zero-prefixed hours only.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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