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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...