Restrict data on graph panel by some nodes only

Hi all,

I’m newbie and hope you’ll be able to help.

I have a graph panel which shows number of records in logs from some nodes.
But I need to limit set of nodes to view this number only from part of them, i.e. from nodes with hostname ends by es-master-data

Hope to get advice soon.
Thanks,
Alexander

Hi @alexanderkaptsanov, welcome to the community!

Depending on your use case you can write your query to show only those nodes. If you want to create a more dynamic filter, you can also use template variables.

You can see an example of a dashboard with template variables here.

To see how they’re used for the example dashboard, click on the gear icon (dashboard settings) and then click on variables.

1 Like