Hi,

what is the best way to calculate a percentage metric in Kibana, as a ratio of two other metrics?

thanks!

Paolo

Hi,

what is the best way to calculate a percentage metric in Kibana, as a ratio of two other metrics?

thanks!

Paolo

I believe what you're looking to do can be done with the Time Series Visual Builder - Stacey wrote about it here: Counting occurrence of two events and then displaying the percentage

Thank you @tylersmalley, this is very helpful!

Is it also possible to get ratios of metrics after applying different filterings to them?

e.g. 1: I would like to get the ratio between a count metric after applying a specific filter and a count metric without any filter applied?

e.g. 2: I would also like to get the ratio between the sum of the values of a given field and a filtered count of all samples (the count of all samples for which a given condition holds)

thanks!

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

© 2020. All Rights Reserved - Elasticsearch

- Elasticsearch is a trademark of Elasticsearch BV, registered in the U.S. and in other countries
- Trademarks
- Terms
- Privacy
- Brand
- Code of Conduct

Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.