View Source Runlet.Cmd.Filter (runlet v1.2.5)

Filter events based on a regular expression

Summary

Functions

Filter events using a regexp. The value of each JSON key is matched against the regexp.

Functions

@spec exec(Enumerable.t(), String.t()) :: Enumerable.t()

Filter events using a regexp. The value of each JSON key is matched against the regexp.

It may be more efficient to write a query. For example, instead of running:

query 'service ~= "foo"' | filter "bar"

Use:

query 'service ~= "foo" and not description ~= "bar"'