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
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...