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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...