# How to merge all the values of a keyword to a single value and use it in controls visualization in logstash and elasticsearch

**URL:** <https://discuss.elastic.co/t/how-to-merge-all-the-values-of-a-keyword-to-a-single-value-and-use-it-in-controls-visualization-in-logstash-and-elasticsearch/236230>\
**Category:** Kibana\
**Created:** [June 8, 2020, 8:33pm UTC](https://discuss.elastic.co/t/how-to-merge-all-the-values-of-a-keyword-to-a-single-value-and-use-it-in-controls-visualization-in-logstash-and-elasticsearch/236230 "2020-06-08T20:33:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matish\_Bhuyan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matish_bhuyan/32/68043_2.png) [@Matish\_Bhuyan](https://discuss.elastic.co/u/Matish_Bhuyan)\
**Post date:** [June 8, 2020, 8:33pm UTC](https://discuss.elastic.co/t/how-to-merge-all-the-values-of-a-keyword-to-a-single-value-and-use-it-in-controls-visualization-in-logstash-and-elasticsearch/236230/1 "2020-06-08T20:33:22Z")

</div>

Hi all

I have one requirement for which i need one help from you all

In my elastic search i have a keyword as owner.keyword which is to be used as dynamic filter

Which i have completed using the controls visualization and the visualization looks like this now

![image](https://us1.discourse-cdn.com/elastic/original/3X/0/0/00a1f1ccaff1f0256e5618434d48767ba91356b2.png)

but my client wants a new value in the owner keyword named as "All" ,  
which when selected will select all the users at a time .

How to create and add that "All" into the owner.keyword.

Please help me on this.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [June 8, 2020, 11:57pm UTC](https://discuss.elastic.co/t/how-to-merge-all-the-values-of-a-keyword-to-a-single-value-and-use-it-in-controls-visualization-in-logstash-and-elasticsearch/236230/2 "2020-06-08T23:57:53Z")

</div>

That is not a logstash question. I suggest you move it to the kibana forum.

---

<div class="post-metadata">

**Author:** ![Matish\_Bhuyan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matish_bhuyan/32/68043_2.png) [@Matish\_Bhuyan](https://discuss.elastic.co/u/Matish_Bhuyan)\
**Post date:** [June 9, 2020, 3:54am UTC](https://discuss.elastic.co/t/how-to-merge-all-the-values-of-a-keyword-to-a-single-value-and-use-it-in-controls-visualization-in-logstash-and-elasticsearch/236230/3 "2020-06-09T03:54:43Z")

</div>

Hi ,

but can't we write any filter in logstash so that i can get the all value in the drop down menu.

I don't want the solution to be done only in Kibana,Is there any chance we can do it through logstash

---

<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 7, 2020, 4:04am UTC](https://discuss.elastic.co/t/how-to-merge-all-the-values-of-a-keyword-to-a-single-value-and-use-it-in-controls-visualization-in-logstash-and-elasticsearch/236230/4 "2020-07-07T04:04:49Z")

</div>

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