Getting Data In

merging as single event from mutlple lines

roopeshetty
Path Finder

Hi Guys,

 

We are collecting the Kubernetes logs using HEC on our Cloud splunk. When ever there is a ERROR entry in the logs , it will have a timestamp in the first line and later lines will be logged as below one after one which will have a information about that error.

 

 

roopeshetty_0-1705564405940.png

 

 

But when we see it in Splunk console these lines will be splitted as multiple events as below which is leading to confusion.

 

roopeshetty_1-1705564405946.png

 

 

Is there anyway we can merge these particular lines as single events so that all lines related to any error should be visible as a single event. Please help on this.

Labels (1)
Tags (1)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

There is no such thing as "merging" events.

If you're sending to the /event endpoint, you have to make sure you're sending whole events. I'm not 100% how/if linebreaking works with /raw endpoint.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...