Getting Data In

Timestamp extraction props.conf

aaronkorn
Splunk Employee
Splunk Employee

Hello,

We have the following timestamp in our log but are unsure how to edit the props.conf to pick it up:

The format is MM/DD HH:MM YY

IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
AA8AB241 0115010113 T O OPERATOR OPERATOR NOTIFICATION
BF05CF18 0115010013 I H pt3rmt04079 AAA5
BF05CF18 0115010013 I H pt3rmt04074 AAA5
BF05CF18 0115010013 I H pt3rmt04071 AAA5
BF05CF18 0115010013 I H pt3rmt04055 AAA5
BF05CF18 0115010013 I H pt3rmt04050 AAA5
BF05CF18 0115010013 I H pt3rmt04049 AAA5
BF05CF18 0115010013 I H pt3rmt04042 AAA5
BF05CF18 0115010013 I H pt3rmt04038 AAA5
BF05CF18 0115010013 I H pt3rmt04031 AAA5
BF05CF18 0115010013 I H pt3rmt04030 AAA5

Tags (3)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

You may be looking for this:

TIME_FORMAT=%m%d%H%M%S
TIME_PREFIX=^\S+\s+

Note, the prefix may be wrong for other types of data you have. It just skips over the first word.

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Works for me when taking your sample data into the data inputs preview.

0 Karma

aaronkorn
Splunk Employee
Splunk Employee

This didnt seem to do it.

0 Karma
Get Updates on the Splunk Community!

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...