Getting Data In

TIME_PREFIX regex help

wouterr
Explorer

Hi,

I seem to be incapable of figuring out what regex to provide in the TIME_PREFIX for my source type in order to recognize the second time stamp instead of the first.

Please see a sample event below

"Jun 04 2013 12:00:00:001AM","5333079266","310410257633304","8","Jun 03 2013 03:55:43:000PM"

Thanks

Tags (2)
0 Karma
1 Solution

Hajime
Path Finder

Hello wouterr,

I think as you said bmacias84, and may be set as follows.

TIME_PREFIX=","

OR

TIME_PREFIX=,"

View solution in original post

0 Karma

Hajime
Path Finder

Hello wouterr,

I think as you said bmacias84, and may be set as follows.

TIME_PREFIX=","

OR

TIME_PREFIX=,"

0 Karma

bmacias84
Champion

I see you have two timestamps so you want the second timestamp used for _time? if so try


TIME_PREFIX=","
TIME_FORMAT=%b %d %Y %I:%M:%S:%3N:%r

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 ...