Build metric for a status of a rollout

Hello everyone,

I currently want to build a metric to track a rollout. So what I want to do is check if a field with a specific value does exist once per host, count these host and match them against hosts where this field with the value does not exist.

Is there a way to do that or am I having the wrong approach?

Thanks in advance.

Is this for a Lens visualization?

Do I understand your situation correctly:

  • Before rollout, hosts report regularly about the value of field and all have the same value
  • During rollout, some hosts now report regularly with the new value of field, while some still report the old value of field
  • After rollout, all hosts now report regularly with the new value of field

And during the rollout you want to see out of X hosts, how many are now reporting the new value (say 5/10)?

Hello @miltonhultgren,

  • No this is for a pretty big mixed envoironment with vms/containers/baremetal
  • All hosts have that field the field tells you which programm did put data there for example: xyz_deamon
  • After the rollout the entries will have this new value but for those who do not have it I want something like a pie chart best would be to have like a status in percentage of how many it have and how many not

I tried to make this work in Kibana Lens but couldn't manage.
However, you might be able to create two different Lens visualizations of the Metric type, one track how many hosts have reported the old value and one to track how many have reported the new value. Though I don't think you can make those dynamic over which value you want to track (old versus new).