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?