In the Kibana documentation about aggregations, there is only information about how to write a JSON query and get an aggregated result.
However I cannot find any documentation on how to go from there to a UI visualization (Lens, Aggregation-based, you name it) that uses that JSON-based aggregation. How can it be done?
My use case is to display a table of aggregated data. Lens and Aggregation-based tables are not powerful enough to support my use case - I need to use the raw JSON code to create my aggregation. I cannot use Vega either, since it does not support visualizing tables.