This is a complex calculation, and I think you might only be able to do this using TSVB or Vega in Kibana 7.13. Starting in Kibana 7.14, Lens will offer this feature too. TSVB has a feature called Filter Ratio which might work, and if that isn't powerful enough you have to use Vega.
I don't think you need to upgrade- TSVB can probably handle this use case in your version, and if that doesn't work then Vega might work. Kibana 7.14 isn't released yet.
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.