Allow average on boolean #10213
Labels
Feature:Aggregations
Aggregation infrastructure (AggConfig, esaggs, ...)
Feature:Lens
impact:needs-assessment
Product and/or Engineering needs to evaluate the impact of the change.
release_note:enhancement
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Hi,
Kibana currently only accept to use avg on numbers, but it can also make sense on boolean:
I have an is_hit boolean in my index/mapping, avg of is_hit is my hit ratio (false = 0, true = 1)
Elasticsearch already support this, just need to lift the restriction in Kibana
for now as an ugly workaround i'm using a scripted field
Regards
Etienne
The text was updated successfully, but these errors were encountered: