i want to visualize which precentage of run_id has logs with both operations, so in the example above it will show me a 33.33% (could be in a number, a stacked bar or a pie chart, doesn't really matter)
can you do this in kibana?
welcome to the Kibana community.
I think the best it can be achieve at the moment is a table with the absolute number of "run_id" that satisfy the given criteria:
Pick the table visualization in Lens
Configure a Top Values by "run_id" of 1000 (or more values) and select the Collapse by sum option
if you have more than 10000 possible run_id values, then I suggest to add a Custom ranking column based on unique count of operation.
As metric you can use a formula like the following:
In the formula above I assumed you do not know before hand the exact number of operations that can be applied.
Unless you know the total number of "run_id" before hand or via a field (i.e. something like a "current_running_ids" field for each record) unfortunately it's not possible to workout the percentage.
If you have such hypothetical "current_running_ids" field then you might compute a ratio in the fomula:
is there a way for me to not show a user_id if it only has an operation: “b” log?
So In that case the red row in the example photo would not appear in the table
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.