Splunk Search

How do I recognize the date/time stamp?

ddrillic
Ultra Champion

We have the following -

alt text

What would be the props.conf change?

Tags (1)
0 Karma
1 Solution

ibob0304
Communicator

^ Will look from the starting

TIME_PREFIX = ^
MAX_TIMESTAMP_LOOKAHEAD = 40

View solution in original post

0 Karma

ibob0304
Communicator

^ Will look from the starting

TIME_PREFIX = ^
MAX_TIMESTAMP_LOOKAHEAD = 40
0 Karma

ddrillic
Ultra Champion

It's interesting that /opt/splunk/etc/datetime.xml shows -

<define name="_time" extract="hour, minute, second, subsecond, ampm, zone">
       <text><![CDATA[(?<!\d)]]></text>
        <use name="_hour"/>
        <text><![CDATA[:]]></text>
        <use name="_minute"/>
        <text><![CDATA[:]]></text>
        <use name="_second"/>
        <text><![CDATA[(?:(?: \d{4})?[:,\.](\d+))? {0,2}]]></text>
        <use name="_ampm"/>
        <text><![CDATA[ {0,2}]]></text>
        <use name="_zone"/>
        <text><![CDATA[(?!:\d)]]></text>
</define>

Meaning, Splunk can understand the rather unusual time format.

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...