Getting Data In

How to write the extract the timestamp from my sample event in props.conf?

sreejith2k2
Explorer

How to write the extract the timestamp from the following event in props.conf?

Mar 3 15:16:10 servername user:info syslog.........

0 Karma
1 Solution

somesoni2
SplunkTrust
SplunkTrust

Add these to your props.conf

[yoursourcetype]
....other line breaking stuffs...
TIME_PREFIX = ^
TIME_FORMAT = %b %d %H:%M:%S
MAX_TIMESTAMP_LOOKAHEAD = 15

View solution in original post

0 Karma

somesoni2
SplunkTrust
SplunkTrust

Add these to your props.conf

[yoursourcetype]
....other line breaking stuffs...
TIME_PREFIX = ^
TIME_FORMAT = %b %d %H:%M:%S
MAX_TIMESTAMP_LOOKAHEAD = 15
0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...