# Is there any query + aggregation capable plugin available

**URL:** <https://discuss.elastic.co/t/is-there-any-query-aggregation-capable-plugin-available/48280>\
**Category:** Elasticsearch\
**Created:** [April 25, 2016, 8:19am UTC](https://discuss.elastic.co/t/is-there-any-query-aggregation-capable-plugin-available/48280 "2016-04-25T08:19:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luigi](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@luigi](https://discuss.elastic.co/u/luigi)\
**Post date:** [April 25, 2016, 8:19am UTC](https://discuss.elastic.co/t/is-there-any-query-aggregation-capable-plugin-available/48280/1 "2016-04-25T08:19:07Z")

</div>

Hi,

Rest query to elastic that has first query which reduces hits that are directed to aggs works wonderfully in elastic.  
But I haven't find any export utility plugin in elastic or in logstash that would make same kind of query+aggs -query and JSON parsing to eg. csv  
Current export plugins seems to be capable only for simple queries which don't include aggs.  
If I have missed some feature in current plugins then give me a tip.

luigi

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:56pm UTC](https://discuss.elastic.co/t/is-there-any-query-aggregation-capable-plugin-available/48280/2 "2017-07-05T22:56:32Z")

</div>


