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
Revered Legend

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
Revered Legend

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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...