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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...