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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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