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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...