Filter based on > values?


I have graph with SUM (total bytes) as metric and router_name as term. I was wondering whether it is possible to apply a filter or similar and only shows values where the SUM is greater then X so I can automatically filter on routers exceeding a certain amount of traffic.

hi @Sjaak01,

this isn't possible in Kibana right now. All filters evaluate properties of a document. What you are trying to do is filter based on the result of an aggregation (on the SUM). This would be similar to filtering with a HAVING-clause in SQL.

Elasticsearch can do such a filter using a bucket selector

However, this functionality is not exposed in Kibana. There is an existing enhancement request for this feature: so I would encourage you to leave extra comments and questions there.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.