Getting Data In

How do I use the line breaker parameter in props.conf?

ethanthomas
Explorer

Can someone tell me how to use the line breaker parameter fo the below events which is currently getting clustered together .

{"sdsf shcdzvdvv zdcnvdzvvdd."}

{bfdf  dvdfd  dfdfdf ddgvdvdfd."}

{dfdfd dfdfd dgdgd dgdgdgdgg."}

 

Props .conf

LINE_BREAKER = (\.\"\})

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @ethanthomas,

could you share a sample of your complete logs?

Ciao.

Giuseppe

0 Karma

richgalloway
SplunkTrust
SplunkTrust

A key thing to remember about LINE_BREAKER is the text matched by the first capture is discarded.

Based on my assumption that each event starts with a left brace this setting may work:

LINE_BREAKER = ([\r\n]+)\{
---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...