exclude_keyvals

Function exclude_keyvals 

Source
pub fn exclude_keyvals(
    events: Vec<Event>,
    key: &str,
    vals: &[Value],
) -> Vec<Event>
Expand description

Drops events matching the specified key and value(s). Opposite of filter_keyvals.

§Example

 key: a
 vals: [1,2]
 input:  [a:1][a:2][a:3][b:4]
 output: [a:3][b:4]