# Drop down for selecting fields

**URL:** <https://discuss.elastic.co/t/drop-down-for-selecting-fields/151752>\
**Category:** Kibana\
**Created:** [October 10, 2018, 6:07am UTC](https://discuss.elastic.co/t/drop-down-for-selecting-fields/151752 "2018-10-10T06:07:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohini\_basu](https://avatars.discourse-cdn.com/v4/letter/r/57b2e6/32.png) [@rohini\_basu](https://discuss.elastic.co/u/rohini_basu)\
**Post date:** [October 10, 2018, 6:07am UTC](https://discuss.elastic.co/t/drop-down-for-selecting-fields/151752/1 "2018-10-10T06:07:15Z")

</div>

Hi,

I am currently working with an IoT related dataset which has a datefield, machine types, status of those machines and voltage taken at various part in the machine (VID\_xx).

These VID\_xx columns are around 100 in numbers. My aim is to plot these voltages with time. Because there are almost 100 different columns, I do not want to plot them in a single chart.

I have worked with dropdown controls in Kibana where the field values can be filtered.  
I am wondering if I can have a chart with a dropdown with which I can select the voltage fields (eg: VID\_1 or VID\_2) I want to visualize. The x-axis will be same for all i.e timestamp.

Or, if anyone can suggest a better way of handling this scenario.

---

<div class="post-metadata">

**Author:** ![jen-huang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jen-huang/32/74327_2.png) [@jen-huang](https://discuss.elastic.co/u/jen-huang)\
**Post date:** [October 11, 2018, 9:57am UTC](https://discuss.elastic.co/t/drop-down-for-selecting-fields/151752/2 "2018-10-11T09:57:41Z")

</div>

This could be possible if your data in Elasticsearch is structured differently so that each `VID_xx` has its own document. For example:

```auto
{
  "part_name": "VID_01",
  "machine_id": "abc",
  "date": ...,
  "voltage": ...,
  ...
}

```

Then you could easily use dropdown controls to filter based on `part_name`, or multiple parts, and even in combination with one or more machines.

---

<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:** [November 8, 2018, 9:57am UTC](https://discuss.elastic.co/t/drop-down-for-selecting-fields/151752/3 "2018-11-08T09:57:43Z")

</div>

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