and one document would be recorded with values like:
{name:john, flowflag:1} msg run into module a
{name:foo, flowflag:2} msg run into module b
{name:bar, flowflag:3} msg run into module a&b
the question is,
how could I get a rate
msgs into A/msgs into B --> 95% ?
If I'm understanding correctly, you'd like to take the number of documents which have {flowflag: 1} or {flowflag: 3} and divide it by the number of documents which have {flowflag: 2} or {flowflag: 3}, and create something like a metric visualization with the result. Is that correct?
Unfortunately, I can't think of a way something like this can be accomplished inside Kibana today, and perhaps not until there is some implementation of pipeline aggregations inside Kibana. The best you could probably do is to create two separate metric visualizations, each with the sum of the documents with the corresponding flowflag value, but you'd have to manually do the rate calculation. :-\
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.