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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...