Skip to main content

parse_filter

Function parse_filter 

Source
fn parse_filter(s: &str) -> Vec<Part>
Expand description

Split the filter line into query terms.

service.name=checkout severity_number>=17 body~"connection refused". It is deliberately not the API’s KYAML grammar: that one is for programs, and no one types {"attr":"service.name","eq":"checkout"} into a filter box. Both end up as the same Term either way.