Apply a filter to a count on the y-axis of a bar vizualization

I have a collection of timestamped events being part of two categories. I can filter on a field to get the events of any and display them as a histogram aggregated by timestamp. So far so good.

I can't plot both on the same plot though. I only managed to add global filters. I would simply like to see at any given time what proportion of one I get over the other.

How could I do that? I can't seem to find any filter at the metrics level.


Kibana version: v 7.9.1

Hey @SilvrDuck,

I am not sure if I fully understand the question, can you post a screenshot of what you are trying to achieve?
Nevertheless, I think filters aggregation could be helpful for you. Here's the example with sample data:

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