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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...