[visualizations] Add aggs
argument to custom requestHandlers
#67916
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:ExpressionLanguage
Interpreter expression language (aka canvas pipeline)
Feature:Visualizations
Generic visualization features (in case no more specific feature label is available)
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
regression
Somewhere in between migration to the new platform and the expressions-based vis infrastructure, it seems we are no longer providing an
aggs
argument to customrequestHandlers
.esaggs
(the default request handler) usesaggs
, however it appears it was left out of thevisualization_function
fallback which is used for custom handlers. We should add this argument back so that it doesn't break vis development for folks relying on aggs in custom request handlers.Related forum thread: https://discuss.elastic.co/t/how-to-access-aggregations-from-within-custom-request-handler/226445
The text was updated successfully, but these errors were encountered: