# Controll filter Id to names

**URL:** <https://discuss.elastic.co/t/controll-filter-id-to-names/191589>\
**Category:** Kibana\
**Created:** [July 22, 2019, 7:05am UTC](https://discuss.elastic.co/t/controll-filter-id-to-names/191589 "2019-07-22T07:05:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![skowron-line](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skowron-line/32/43528_2.png) [@skowron-line](https://discuss.elastic.co/u/skowron-line)\
**Post date:** [July 22, 2019, 7:05am UTC](https://discuss.elastic.co/t/controll-filter-id-to-names/191589/1 "2019-07-22T07:05:57Z")

</div>

Im having filed in my index type integer, which is type of document, and I would like to create filter on this field but instead of ints (1, 2, 3) I would like to have document type names, which I dont have in my index.

So I could have  
type 1  
type 2  
type 3

instead of  
1  
2  
3

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [July 22, 2019, 5:47pm UTC](https://discuss.elastic.co/t/controll-filter-id-to-names/191589/2 "2019-07-22T17:47:25Z")

</div>

Hello,

What does type refer to here? Is that another field in your index document or you want to just add **type** at the beginning of your integer field?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![skowron-line](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skowron-line/32/43528_2.png) [@skowron-line](https://discuss.elastic.co/u/skowron-line)\
**Post date:** [July 23, 2019, 1:37pm UTC](https://discuss.elastic.co/t/controll-filter-id-to-names/191589/3 "2019-07-23T13:37:58Z")

</div>

No I would like to have dropdown control like html select  
where value is a value from index field, and description is set by me / or both are taken from outside resource.

Big picture is that I have logs where I have user id and would like to have list of users names rather than Ids so that my end users can use it

---

<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:** [August 20, 2019, 1:38pm UTC](https://discuss.elastic.co/t/controll-filter-id-to-names/191589/4 "2019-08-20T13:38:09Z")

</div>

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