# Dashboard with index fields as dropdown

**URL:** <https://discuss.elastic.co/t/dashboard-with-index-fields-as-dropdown/207244>\
**Category:** Kibana\
**Created:** [November 10, 2019, 2:19pm UTC](https://discuss.elastic.co/t/dashboard-with-index-fields-as-dropdown/207244 "2019-11-10T14:19:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gofbor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gofbor/32/46467_2.png) [@gofbor](https://discuss.elastic.co/u/gofbor)\
**Post date:** [November 10, 2019, 2:19pm UTC](https://discuss.elastic.co/t/dashboard-with-index-fields-as-dropdown/207244/1 "2019-11-10T14:19:43Z")

</div>

Hi,

I have index with 8 fields. 4 of them are counters and 4 of them are keywords.  
For each counters I want to create 4 visualizations (avg per every keywords).

But in my dashboard I don't want to have 16 visualizations, only 4 (only for one chosen counter).  
The switching between counters can looks like "controls" visualization or in other way.

Is it possible to achive this ?

BR

---

<div class="post-metadata">

**Author:** ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)\
**Post date:** [November 11, 2019, 5:43pm UTC](https://discuss.elastic.co/t/dashboard-with-index-fields-as-dropdown/207244/2 "2019-11-11T17:43:39Z")

</div>

Hello @gofbor

What version of the elastic stack are you using?

It sounds like the controls visualization might be of help to you - [https://www.elastic.co/guide/en/kibana/current/controls.html](https://www.elastic.co/guide/en/kibana/current/controls.html)

That said, using the controls visualization would necessitate changing the way you're storing data since they work as a filter. If you're able and interested in doing this please share a couple of example documents so we can discuss.

---

<div class="post-metadata">

**Author:** ![gofbor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gofbor/32/46467_2.png) [@gofbor](https://discuss.elastic.co/u/gofbor)\
**Post date:** [November 11, 2019, 6:39pm UTC](https://discuss.elastic.co/t/dashboard-with-index-fields-as-dropdown/207244/3 "2019-11-11T18:39:15Z")

</div>

Hi,

I'm using ELK 7.3.2.  
Through the control visualization you can choose a specific value of the field, but you can't choose the field itself.

To simplify I have 4 fields (2 keywords and 2 counters(int)):  
keywords: vendor, server\_type  
counters: latency, drop\_packets

I want dashboard with only 2 charts:  
avg latency/vendor and avg latency/server\_type

And in dashboard I want to switch between counters (latency, drop\_packets)

In fact I have tons of counters and keyword, so that's why I don't want to create too many charts.

BR.

---

<div class="post-metadata">

**Author:** ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)\
**Post date:** [November 11, 2019, 6:44pm UTC](https://discuss.elastic.co/t/dashboard-with-index-fields-as-dropdown/207244/4 "2019-11-11T18:44:41Z")

</div>

> Through the control visualization you can choose a specific value of the field, but you can't choose the field itself.

This is correct.

I'm trying to think of how you could turn this into a filtering problem so it would work well with the control visualization but I think I'm missing the field you'd need to filter on. Perhaps some combination of the keyword fields? Might be helpful if you could share the document format.

---

<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 9, 2019, 6:44pm UTC](https://discuss.elastic.co/t/dashboard-with-index-fields-as-dropdown/207244/5 "2019-12-09T18:44:44Z")

</div>

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