The classical quicksearch allowed certain filter prefixes, which specified the item to look for. For example:
The new search feature enhances the service search.
s: mem h: localhost
This will search for all services containing mem on the localhost. Furthermore you can combine these filters.
s: mem s: cpu h: localhost h: switch-intern
This will search for all services containing mem OR cpu on the hosts localhost OR switch-intern. The search algorhytm is as follow:
h: localhost s: mem s: cpu h:switch-intern
actually results in the following livestatus query:
GET services Cache: reload Columns: service_description host_name hostgroups servicegroups Filter: host_name ~~ switch-intern Filter: host_name ~~ localhost Or: 2 Filter: service_description ~~ cpu Filter: service_description ~~ mem Or: 2 And: 2 Limit: 80
You can also add the hg: and sg: filters to the query.