How to filter metrics depending on hostname?

Hi,
As a newbie , I’ve built a dashboard able to display all values of a cpu related metric held in a ELSearch docmument.
Now I still wish to display this metric but related to a certain host ; the hostname is part of the ELSearch document holding the metrics.

Any help to put me on the track is welcome …

Thx for help.

Regards,

J.P.

In the “Query” field put an Elasticsearch query_string query (same as used in Kibana) like hostname:my.host.example.com, where hostname is the field name.

Also worth mentioning, you can add an “ad-hoc filters” template that will allow you to filter on any fields in the index.

Hi,

Thx for your help.

Regards,

J.P.