# Limit buckets in bucket selector

**URL:** <https://discuss.elastic.co/t/limit-buckets-in-bucket-selector/72092>\
**Category:** Elasticsearch\
**Created:** [January 18, 2017, 9:52pm UTC](https://discuss.elastic.co/t/limit-buckets-in-bucket-selector/72092 "2017-01-18T21:52:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbeuthel](https://avatars.discourse-cdn.com/v4/letter/t/f04885/32.png) [@tbeuthel](https://discuss.elastic.co/u/tbeuthel)\
**Post date:** [January 18, 2017, 9:52pm UTC](https://discuss.elastic.co/t/limit-buckets-in-bucket-selector/72092/1 "2017-01-18T21:52:15Z")

</div>

Hey everyone,

I'm trying to determine if there's a way to limit the number of buckets that are returned when utilizing the bucket selector pipeline aggregation. Something like a size parameter, but for the returned buckets.

---

<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:** [February 15, 2017, 9:52pm UTC](https://discuss.elastic.co/t/limit-buckets-in-bucket-selector/72092/2 "2017-02-15T21:52:20Z")

</div>

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