-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Open
Labels
:Analytics/AggregationsAggregationsAggregations>enhancementTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)help wantedadoptmeadoptme
Description
Currently bucket script aggregations allows only numbers to be referenced on:
"some-stringified-metric":{
"bucket_script":{
"buckets_path":{
"a":"path>of>nested>metrics>agg_that_returns_a_string.value"
},
"script":{
"source":"params.a"
}
}
},
You will get:
"buckets_path must reference either a number value or a single value numeric metric aggregation, got: java.lang.String"
Result of the agg is just a string, not a list of object, or something complex. Why plain single strings are so offended that they can not be returned as a result?
linuradu and abhishek-jblinuradulinuradu
Metadata
Metadata
Assignees
Labels
:Analytics/AggregationsAggregationsAggregations>enhancementTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)help wantedadoptmeadoptme