Getting Data In

event breaking not happening

pm2012
Explorer

Hi SMEs, while checking the log from one of the log source i could see logs are not ending properly and getting clubbed all together. Putting the snap below and seeking your best advice to fix it

 

pm2012_0-1716385064659.png

 

Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @pm2012,

what's the sourcetype definition for this data flow?

it seems that the LINE_BREAKING isn't configured.

Ciao.

Giuseppe

0 Karma

pm2012
Explorer

Hi @gcusello 

I am sharing the below config present for this log source

pm2012_0-1716387468601.pngpm2012_1-1716387497860.png

 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @pm2012 ,

the LINE_BREAKING isn't correct.

download a sample of your data in a text file and use it in the guided procedure [Settings > Add data]

in this way, you can find the correct sourcetype definitions to use to parse your data.

Ciao.

Giuseppe

0 Karma

pm2012
Explorer

HI @gcusello , I tried it using the way you suggested, it is working while uploading sample log however the same config is not working on live data. Here is the props.conf 

 

[ __auto__learned__ ]
SHOULD_LINEMERGE=false
LINE_BREAKER=([\r\n]*){\"event\"\:\{\"
NO_BINARY_CHECK=true

 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @pm2012 ,

In the square brackets put the sourcetype you want to add to your data flow.

Put the props.conf file on Search Heads and on the Forwarders they are coming, and (if present) on intermediate Heavy Forwarders.

Ciao.

Giuseppe

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!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...