# Chain-wise option list in drop down list

**URL:** <https://discuss.elastic.co/t/chain-wise-option-list-in-drop-down-list/144665>\
**Category:** Kibana\
**Created:** [August 16, 2018, 9:03am UTC](https://discuss.elastic.co/t/chain-wise-option-list-in-drop-down-list/144665 "2018-08-16T09:03:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manish\_Singh1](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@Manish\_Singh1](https://discuss.elastic.co/u/Manish_Singh1)\
**Post date:** [August 16, 2018, 9:03am UTC](https://discuss.elastic.co/t/chain-wise-option-list-in-drop-down-list/144665/1 "2018-08-16T09:03:51Z")

</div>

Suppose, I have some data structure in my data model.

There are 2 folders A & B. And 1.txt & 2.txt is in Folder A and 3.txt & 4.txt is in Folder B.

Suppose, If I select folder A from option list (Dropdown) and I have applied the changes. Then file option list should show me 1.txt & 2.txt, but actually it is showing me all the text files.

My schema looks like this:  
PUT log\_file\_raw\_database  
{  
"settings": {  
"number\_of\_shards": 3,  
"number\_of\_replicas": 2  
},  
"mappings": {  
"log": {  
"properties": {  
"row\_index": {  
"type": "integer",  
"fields": {  
"keyword": {  
"type": "keyword",  
"ignore\_above": 256  
}  
}  
},  
"hostname": {  
"type": "text",  
"fields": {  
"keyword": {  
"type": "keyword",  
"ignore\_above": 256  
}  
}  
},  
"timestamp": {  
"type": "text",  
"fields": {  
"keyword": {  
"type": "keyword",  
"ignore\_above": 256  
}  
}  
},  
"log\_bundle": {  
"type": "text",  
"fields": {  
"keyword": {  
"type": "keyword",  
"ignore\_above": 256  
}  
}  
},  
"folder\_name": {  
"type": "text",  
"fields": {  
"keyword": {  
"type": "keyword",  
"ignore\_above": 256  
}  
}  
},  
"file\_name": {  
"type": "text",  
"fields": {  
"keyword": {  
"type": "keyword",  
"ignore\_above": 256  
}  
}  
},  
"log\_text": {  
"type": "text",  
"fields": {  
"keyword": {  
"type": "keyword",  
"ignore\_above": 256  
}  
}  
}  
}  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![a5a](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@a5a](https://discuss.elastic.co/u/a5a)\
**Post date:** [August 16, 2018, 4:01pm UTC](https://discuss.elastic.co/t/chain-wise-option-list-in-drop-down-list/144665/2 "2018-08-16T16:01:59Z")

</div>

Can you please show a screenshot of the folders and option list dropdowns? It would help to know what you're talking about.

---

<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:** [September 13, 2018, 4:02pm UTC](https://discuss.elastic.co/t/chain-wise-option-list-in-drop-down-list/144665/3 "2018-09-13T16:02:00Z")

</div>

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