# Lucene query

**URL:** <https://discuss.elastic.co/t/lucene-query/340367>\
**Category:** Elasticsearch\
**Created:** [August 8, 2023, 12:18pm UTC](https://discuss.elastic.co/t/lucene-query/340367 "2023-08-08T12:18:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZahraZare](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zahrazare/32/112102_2.png) [@ZahraZare](https://discuss.elastic.co/u/ZahraZare)\
**Post date:** [August 8, 2023, 12:18pm UTC](https://discuss.elastic.co/t/lucene-query/340367/1 "2023-08-08T12:18:41Z")

</div>

The following document is from the "mart-index" index in Elasticsearch. I want to use this index as a data source in Grafana 9. I want to have only "IS\_AVAILABLE" and "GPRS\_CNT" values from "DTLS\_MA" object as table columns. But when I use "\_source:DTLS\_MA.IS\_AVAILABLE,\_source:DTLS\_MA.GPRS\_CNT" query, no output data is displayed.  
Can you tell me how to query a specific object in the document?  
{  
"took" : 0,  
"timed\_out" : false,  
"\_shards" : {  
"total" : 1,  
"successful" : 1,  
"skipped" : 0,  
"failed" : 0  
},  
"hits" : {  
"total" : {  
"value" : 1,  
"relation" : "eq"  
},  
"max\_score" : 1.0,  
"hits" : [  
{  
"\_index" : "mart-index-18052023",  
"\_type" : "\_doc",  
"\_id" : "138",  
"\_score" : 1.0,  
"\_source" : {  
"timestamp" : "2023-05-18",  
"updated\_at" : "19-06-2023 01:00:01",  
"DTLS\_MA" : {  
"IS\_AVAILABLE" : true,  
"VOICE\_DIFF" : 0,  
"GPRS\_CNT" : 938042259,  
"MMS\_CNT" : null  
},  
"SID OOB" : {  
"IS\_AVAILABLE" : true,  
"RECORD\_COUNT" : 113592247  
}  
}  
}  
]  
}  
}

---

<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 5, 2023, 12:19pm UTC](https://discuss.elastic.co/t/lucene-query/340367/2 "2023-09-05T12:19:23Z")

</div>

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