How to access aggregations from within custom request handler

Is it possible to access the aggregations from within a custom visualization request handler? I'm currently not seeing the aggs object contained within the object that is passed into the custom request handler. I'm trying to build a custom Elasticsearch query from within the request handler but I need access to the aggregations to do this. I'm currently using Kibana 7.5.2.

Anyone have an answer for this? I thought it was a pretty straight forward question. How do you get access to the aggregations from within a custom request handler? Thanks!

@jbudz can you shed some light here ?

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