Getting Data In

Can I use backreferences in LINE_BREAKER?

Paolo_Prigione
Builder

I want to group consecutive lines starting with the same pattern. I know the TRANSACTION command can be used as well, but having it already indexed correctly would be very handy...

Something like

LINE_BREAKER = ([\n\r]+)((\S+\s+){4}).*([\n\r]+\2.*)*

Thanks,
Paolo

0 Karma
1 Solution

Paolo_Prigione
Builder

Complete silence, let's tag this as impossible 😉

View solution in original post

0 Karma

Paolo_Prigione
Builder

Complete silence, let's tag this as impossible 😉

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 ...