# Aggregation string response to get buckets

**URL:** <https://discuss.elastic.co/t/aggregation-string-response-to-get-buckets/290306>\
**Category:** Elasticsearch\
**Created:** [November 26, 2021, 3:35pm UTC](https://discuss.elastic.co/t/aggregation-string-response-to-get-buckets/290306 "2021-11-26T15:35:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![silviya](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@silviya](https://discuss.elastic.co/u/silviya)\
**Post date:** [November 26, 2021, 3:35pm UTC](https://discuss.elastic.co/t/aggregation-string-response-to-get-buckets/290306/1 "2021-11-26T15:35:38Z")

</div>

Hi ,  
I have a aggregation response in the format of string . i need to get the bucket counts . Is this possible to get bucket counts from string without taking from search response please help!

Thanks in advance

---

<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:** [December 24, 2021, 3:35pm UTC](https://discuss.elastic.co/t/aggregation-string-response-to-get-buckets/290306/2 "2021-12-24T15:35:58Z")

</div>

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