Hi,
First of all, I am new in Kibana.
I start using it to display statistics about my workflows.
For each update (Creation, inProgress, Success, Failed), our system creates a document with W/F stats.
So, I used the Visual Builder to display the count of Created and Success W/Fs.
I added the average duration on top of it.
Now, I would like to add the count of pending W/Fs = cumulative sum of Created - cumulative sum of Success.
In other words, it can also be a count of all the W/F buckets without a Success document, a W/F bucket being a group of document wih the same W/F id.
Any suggestion how to do it is welcome.