-
I'd like to do the following:
So the problem is, this ifnot don't catch the regex but only like a hard coded private IP address for testing purposes. I need something like if not match, but I dont know how to wirte. Any ideas? The application is OpenObserve and gives me the following identifiers to choose from:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think you want to use https://vector.dev/docs/reference/vrl/functions/#match to check if the input matches a regex (rather than |
Beta Was this translation helpful? Give feedback.
I think you want to use https://vector.dev/docs/reference/vrl/functions/#match to check if the input matches a regex (rather than
!=
).