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

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...