Getting Data In

Line breaker

vijreddy30
Loves-to-Learn Everything

Hi Team,

 

my requirement is write request is one event and Change Item into another event, please help me how to break the events

 

 

 

12:49:28 PM WriteRequest Remotexxxxxxxxxx+=0
12:49:28 PM WriteRequest Remotexxxxxxxxxxxxxx-=0
12:49:28 PM WriteRequest xxxxxxxx=ABEMA150


12:50:22 PM ChangeItem StatusDevices.xxxxxxxx=1
12:50:22 PM ChangeItem CurrentTest.DateEnd=25.06.2023 12:50:22
12:50:22 PM ChangeItem CurrentTesxxxxxxx=2

Labels (1)
0 Karma

somesoni2
Revered Legend

How do they appear in Splunk right now?

0 Karma

vijreddy30
Loves-to-Learn Everything

 

12:49:28 PM WriteRequest Remotexxxxxxxxxx+=0
12:49:28 PM WriteRequest Remotexxxxxxxxxxxxxx-=0
12:49:28 PM WriteRequest xxxxxxxx=ABEMA150

 

Into One event

 

12:50:22 PM ChangeItem StatusDevices.xxxxxxxx=1
12:50:22 PM ChangeItem CurrentTest.DateEnd=25.06.2023 12:50:22
12:50:22 PM ChangeItem CurrentTesxxxxxxx=2

 

into another event

Line_BREAKER= ?

 

Please help me

 

0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @vijreddy30 ...
Simplest one... you can do line-breaking with each line (as you are having timestamps nicely)

if you have any other "special requirements" with this logs, then, if you could update us more details, we could help you on the new line breaking ideas. thanks. 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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