How to show 0 instead of blank in meteric


(NETHAJI) #1

Hi All,

How can I customize my metric in kibana?

i want to show 0 in metric, if no data is available


(Brandon Kobel) #2

Hey @Nethaji, would you mind sharing a screenshot of your current metric configuration to better illustrate what you'd like to be displayed as "0"?


(Sjaak) #3

If it's a string field then most visualizations allow you to select "show missing values" but this doesn't work on numerical fields.

A better solution might be to have Logstash check whether a field exists and if not, then add a field with the value 0.


(NETHAJI) #4

Thank you for your response,

I cleared this issues in MySQL query, Now it's showing 0 if no data is found


(system) #5

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