Skip to content

Filter log with regular expressions #16210

Answered by jszwedko
LinTechSo asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @LinTechSo ! You need to use the match VRL function. What you have there is comparing the tag to a literal regular expression value rather than checking if the regex matches the value.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@LinTechSo
Comment options

@spencergilbert
Comment options

Answer selected by jszwedko
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants