Getting Data In

CSV fields and multiple timestamps

rasingh
Path Finder

I have a csv tab-delimited file with entries that looks like this:

GPDB20A LTO3 L03    03/08/11 06:01:20   1299592880  03/08/11 08:09:46   1299600586 

I want to grab the 4th field timestamp. With no TIME_PREFIX, it grabs the timestamp from the second field. When I use the TIME_PREFIX below, it uses the time that the event was indexed:

TIME_PREFIX = (?i)^(?:[^\t]*\t){3}

I got that regex from the field extractor in the GUI.

Any ideas, please?

Tags (2)
1 Solution
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...