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 Observability for AI

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

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

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...