loki.process
Add stage.pattern
to use LogQL pattern parser to extract values
#2015
Labels
enhancement
New feature or request
Request
It would be great if there was a
stage.pattern
stage forloki.process
. It would function similarly tostage.regex
, except use the pattern syntax instead. Given thatstage.match
already uses LogQL, I imagine the necesary dependencies already exist in the alloy codebase.Use case
The pattern syntax is much easier to read and understand, reducing the chance of mistakes. The docs also claim it is faster/more efficient than regex.
The text was updated successfully, but these errors were encountered: