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!

Get ready to show some Splunk Certification swagger at .conf24!

Dive into the deep end of data by earning a Splunk Certification at .conf24. We're enticing you again this ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Now On-Demand Join us to learn more about how you can leverage Service Level Objectives (SLOs) and the new ...

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...