# How to traverse all the values of a filed in script

**URL:** <https://discuss.elastic.co/t/how-to-traverse-all-the-values-of-a-filed-in-script/46497>\
**Category:** Elasticsearch\
**Created:** [April 6, 2016, 9:09am UTC](https://discuss.elastic.co/t/how-to-traverse-all-the-values-of-a-filed-in-script/46497 "2016-04-06T09:09:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Liu](https://avatars.discourse-cdn.com/v4/letter/l/a88e57/32.png) [@Liu](https://discuss.elastic.co/u/Liu)\
**Post date:** [April 6, 2016, 9:09am UTC](https://discuss.elastic.co/t/how-to-traverse-all-the-values-of-a-filed-in-script/46497/1 "2016-04-06T09:09:11Z")

</div>

I am writing a script , which need to traverse all the values within a group . But I do not know how to travese

---

<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, 11:01pm UTC](https://discuss.elastic.co/t/how-to-traverse-all-the-values-of-a-filed-in-script/46497/2 "2017-07-05T23:01:58Z")

</div>

Closed on July 5, 2017, 11:01pm UTC


