tag_exists
tag_exists(name: const string) -> bool
Return true if the input has a correlation tag with the given name.
Domain
This is a scalar function (calculates a single output value for a single input row).
Categories
Examples
filter if(tag_exists("service.name"), not is_null(#"service.name"), true)
Keeps rows where service.name is set. When the input has no service.name tag, the filter keeps every row.
Updated 17 minutes ago
Did this page help you?