Skip to content

how to use filter type support wildcard? #15215

Discussion options

You must be logged in to vote

👋

Hi, @trustnote-wang. You can use the VRL functions documented at https://vrl.dev/functions. You probably want to use ends_with based on your example glob.

[transforms.service_logs]
type = "filter"
inputs = [ "parse_logs_download" ]
condition = '''
ends_with!(.service, "cross")
'''

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@trustnote-wang
Comment options

Answer selected by trustnote-wang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants