Difference of two counts on a "metric" visualization object

Hello Everyone,

I'm working on a project where our goal is to monitor a series of systems, and it's important to us to understand if the number of messages were the same on the outputs of each of these systems.

In order to achieve that, I was looking for building a visualization object, using the "metric" object, where I could display the difference of counts of two events.

I can easily build a count visualization for one event, but I couldn't find out a way to perform a subtraction. I wasn't able to find some instructions on my research regarding this topic as well.

Could anyone give me a hand on this?

Thanks in advance!

Hello,

You should be able to use scripted fields for doing your math and then using that in your visualization https://www.elastic.co/guide/en/kibana/current/scripted-fields.html.
I think TSVB visualization will also help because you can do math - https://www.elastic.co/guide/en/kibana/current/TSVB.html

Thanks,
Bhavya

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