Splunk Search

Example of props.conf and breaking line after or Transaction command

markthompson
Builder

Hello,
I wish to create a new sourcetype in props.conf that uses the linebreak properties such as :
SHOULD_LINEMERGE = true
BREAK_ONLY_BEFORE =

But I'm not sure what to put for the regex of BREAK_ONLY_BEFORE , does it need to be the whole line? & Does it need any capturing groups?

Also, I have a transaction command that works, but I could possibly uses that instead of props.conf, but I want to make it so that we don't have to run the transaction in all searches, any ideas?

Thanks

sk314
Builder

Break_only_before will break as soon as it finds whatever pattern you put in. If you put in a whole line, it will break a line before it finds the entire line. If you put in part of the line, as soon as it encounter that, it will break a line before that.

markthompson
Builder

@sk314 - Please convert your comment to an answer so I can accept it to help the rest of the community.

Thanks

0 Karma

sk314
Builder

@markthompson done and done.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...