Splunk Search

MUST_BREAK_AFTER -How to give for multiple values

splunkatl
Path Finder

I have log where each transaction ends with either of one below lines

SignaturePolicy: BINDING_DEFAULT

SignatureStatus: BINDING_DEFAULT

EXCEPTION

can we give multiple values in MUST_BREAK_AFTER configuration.In splunk doc it didnot say it can configure with muliple values.

Tags (1)
0 Karma
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

No you can not. However, the value you provide regular expression, which can express any number of terms.

View solution in original post

0 Karma

narwhal
Splunk Employee
Splunk Employee

Right, so something kind of like this I think:

MUST_BREAK_AFTER = (SignaturePolicy:\sBINDING_DEFAULT$)|(SignatureStatus:\sBINDING_DEFAULT$)|(EXCEPTION)
0 Karma

sbrant_splunk
Splunk Employee
Splunk Employee

Have you tried something like this?

MUST_BREAK_AFTER = Signature(Policy|Status):\sBINDING_DEFAULT|EXCEPTION

splunkatl
Path Finder

ok,thanks for giving answer so quickly

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

No you can not. However, the value you provide regular expression, which can express any number of terms.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...