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!

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...