Getting Data In

Timestamp recognition when date appears once but time appears on every line

jbesant
Explorer

Hi, I can't seem to work out how to do this. I've looked in the documentation but can't find an example. I am trying to set up date/time recognition for a log file that has the date only on the first line of the log file and then every entry thereafter has the time. Here is an example:

Logfile name xxxxx Current Day: 01/30/2021

(13:11:06.696)(07059)ABCDEF_01: TX (000)162,47773,455,0538,126,00152,00174|00000
(13:11:07.324)(07060)ABCDEF_01: RX (000)162,47773,455,0538,126,00152,00174|00000

 How do I define the extraction so every event has the date 01/30/2021 and then the time of the event is taken from every line as H:%M:%S.%3N %Z

Labels (1)
Tags (1)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...