OPAL case sensitive-filtering with tilde and regex
OPAL filters are case-insensitive by default. Case-sensitive filtering is used with the filter ~ operator and a regular expression.
Given the following string:
log: 2024-04-06T12:49:00Z,eventName=GetPolicyThe following example uses the filter ~ operator support for regular expressions with the case insensitivity regex flag for case insensitive match to a string.
filter eventName~/getpolicy/ //does not match
filter eventName~/getpolicy/i //matches
Updated 25 days ago