Getting Data In

Why is must_break_after configuration not working?

mjones414
Contributor

I have a large (10's of thousands of lines) data stream that runs every 10 minutes and I want it to break after this line:

sharing = default_shared

I tried putting in:

MUST_BREAK_AFTER = (sharing = default_shared)

But this did not work.

I was hoping it would take the literal string, but it's not working.

0 Karma
1 Solution

somesoni2
SplunkTrust
SplunkTrust

Try something like this

[yoursourcetype]
SHOULD_LINEMERGE=false
LINE_BREAKER= ([\r\n]+)(?=sharing\s*=\s*default_shared)
... other configs....

View solution in original post

0 Karma

somesoni2
SplunkTrust
SplunkTrust

Try something like this

[yoursourcetype]
SHOULD_LINEMERGE=false
LINE_BREAKER= ([\r\n]+)(?=sharing\s*=\s*default_shared)
... other configs....
0 Karma

mjones414
Contributor

Worked like a champ!! Thanks so much!

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...