# Kibana Controls, Option List doesn't show all strings

**URL:** https://discuss.elastic.co/t/kibana-controls-option-list-doesnt-show-all-strings/239449
**Category:** Kibana
**Created:** [July 1, 2020, 9:24am UTC](https://discuss.elastic.co/t/kibana-controls-option-list-doesnt-show-all-strings/239449 "2020-07-01T09:24:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![defalt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/defalt/32/71379_2.png) [@defalt](https://discuss.elastic.co/u/defalt)
#### Post date: [July 1, 2020, 9:24am UTC](https://discuss.elastic.co/t/kibana-controls-option-list-doesnt-show-all-strings/239449/1 "2020-07-01T09:24:49Z")

</div>

Hi  
I am trying to create an option list with wich I can select specific documents which then are dispayed in a data table. The problem is that the option list only shows strings outside of the \_source field but I want to filter with fields inside the \_source.  
Data structure:

```auto
"_index": "index1",
"_type": "_doc",
"_id": "ikIyBHMBra6a_DzJdFae",
"_score": 1,
"_source": {
  "serialnumber": "Blibla314", //String
  "formatversion": 0,
  "username": "Production", //String
  "commissionnumber": "",
  "datetimestart": "2018-11-08 04:00:37",
  "datetimestop": "2018-11-08 04:11:53",
  "test": "BNF1234", //String
  "resultdecimal": 0,
  .
  .
  .
}
},

```

Only shows 3 strings:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/8/88ce4081e68388b2369c7b3d6077efe3f653a235.png)  
How can I filter for username, serialnumber, test etc.? They dont show up.

**Edit** :  
I think it has something to do with "Aggregatable". But how can I set something as Aggregatable?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/7/97fd066bc745739ae62a9b98632ca9ba726c8df6.png)

---

<div class="post-metadata">

### Author: ![defalt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/defalt/32/71379_2.png) [@defalt](https://discuss.elastic.co/u/defalt)
#### Post date: [July 1, 2020, 11:41am UTC](https://discuss.elastic.co/t/kibana-controls-option-list-doesnt-show-all-strings/239449/2 "2020-07-01T11:41:55Z")

</div>

Found the solution. The string must be a "Keyword". Has to be set in the mappings.

---

<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 29, 2020, 11:42am UTC](https://discuss.elastic.co/t/kibana-controls-option-list-doesnt-show-all-strings/239449/3 "2020-07-29T11:42:04Z")

</div>

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