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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...