Visualization of complicated elasticsearch queries/aggregations


Kibana appears to be a decent tool to allow users to design basic search/dashboards interactively, however it seems to fall short of supporting arbitrary queries/aggregations. I was wondering for folks who have built complicated elasticsearch queries (such as deeply nested aggregations), what kind of visualization/frontend are you using?

Thanks in advance,