# Make a query for the given index

**URL:** <https://discuss.elastic.co/t/make-a-query-for-the-given-index/88800>\
**Category:** Elasticsearch\
**Created:** [June 9, 2017, 7:22am UTC](https://discuss.elastic.co/t/make-a-query-for-the-given-index/88800 "2017-06-09T07:22:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ELKibana](https://avatars.discourse-cdn.com/v4/letter/e/87869e/32.png) [@ELKibana](https://discuss.elastic.co/u/ELKibana)\
**Post date:** [June 9, 2017, 7:22am UTC](https://discuss.elastic.co/t/make-a-query-for-the-given-index/88800/1 "2017-06-09T07:22:06Z")

</div>

"\_index": "demodata",  
"\_type": "sarthak",  
"\_id": "AVyLnJgOVAC1tB7BveyG",  
"\_score": 1,  
"\_source": {  
"values": """[{"label":"Male","value":"m","selected":true},{"label":"Female","value":"F"},{"label":"Other","value":"O"}]""",  
"name": "select-1496990862221",  
"className": "form-control",  
"label": "Select",  
"type": "select",  
"required": true

I want to get inside values and get the label value and selected values

---

<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 7, 2017, 7:22am UTC](https://discuss.elastic.co/t/make-a-query-for-the-given-index/88800/2 "2017-07-07T07:22:09Z")

</div>

Closed on July 7, 2017, 7:22am UTC

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