We have a table that shows warning counts in our services, but we aren't interested in those that are zero.
Because the warning count is a un-indexed number (integer) we can't include it as a filter criteria. How can these be removed from our dashboard?
I am not familliar with Grafana, but ES has an "exists" query which might be what you are looking for. So, if you can integrate this in your dashboard (or find that Grafana functionality that uses it) it might help you. For your information (because Grafana might use this as well like it is) you can use "exists" query in the Lucene query dsl as _exists_
. A practical example - _exists_:warning_count_field
. More about this here
The same question seems to have been asked before in a more or less similar form: https://community.grafana.com/t/how-to-query-for-null-values/799/5 and the answer is the same as the one I posted above: the _exists_
filter/query.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With