Visualizing a ratio of two aggregations on the Y axis

I'd like to plot a graph where the X-axis is the timeseries and the Y axis is a ratio of two certain field values (In my case, this is the "availability" metric which is defined as
sum(response_code = OK)/sum(response_code = OK or response_code = FAIL).

response_code is the field which is available in the index.
I am new to Kibana, but it appears that it does not support support custom metric computation.
Any help?

This should be achievable in TSVB/Visual Builder, using the Math aggregation to calculate that ratio.

Could you please explain how do I sum the rows based on a filter (in my case, sum rows where the response code is OK)?

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