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!

Introducing the Splunk Community Dashboard Challenge!

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

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...