Getting Data In

Issue with csv timestamp extraction

msarro
Builder

Hey everyone. All of my input data comes into splunk in .csv format. Each line is a record, and it has numerous timestamps (CDR data). I need to extract the 14th field's timestamp.

Here are the entries in my props.conf file:

TIME_PREFIX=^([^,]*,){14}
TIME_FORMAT=%Y%m%d%H%M%S.%q%Z

I used the regex for the timestamp based on this post here:
http://splunk-base.splunk.com/answers/2062/how-can-i-extract-the-date-from-the-middle-of-an-event

Any advice would be appreciated.

Tags (1)
0 Karma
1 Solution

msarro
Builder

Figured it out, I was looking one field too far forward. Thanks to everyone who looked for me!

View solution in original post

0 Karma

msarro
Builder

Figured it out, I was looking one field too far forward. Thanks to everyone who looked for me!

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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