# ELK query display data from list

**URL:** https://discuss.elastic.co/t/elk-query-display-data-from-list/187986
**Category:** Kibana
**Tags:** elastic-stack-graph
**Created:** [June 28, 2019, 7:56am UTC](https://discuss.elastic.co/t/elk-query-display-data-from-list/187986 "2019-06-28T07:56:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Kamil\_Szczur](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kamil_szczur/32/48988_2.png) [@Kamil\_Szczur](https://discuss.elastic.co/u/Kamil_Szczur)
#### Post date: [June 28, 2019, 7:56am UTC](https://discuss.elastic.co/t/elk-query-display-data-from-list/187986/1 "2019-06-28T07:56:00Z")

</div>

Dear Team,

I'm new to ELK Stack, i have installed (Elasticsearch 7.2.0, Logstash 7.2.0,Kibana 7.2.0) and tried writing query.

**My question:**  
How writting query to show all pop\_abc whitch pop\_abc \> 10 from **index 1**

**My data:**

> ```
> "_source": {
> "data_receiver": "2019-06-27T11:27:54+02:00",
> "pop": {
> "pop_abc": {
> "abc": [
> 13,
> 11995 <- index 1
> ],
> "def": [
> 86,
> 2596
> ]
> }
> },
> "name": "myname",
> "name_client": "myname_client"
> },
> "fields": {
> "data_receiver": [
> "2019-06-27T09:27:54.000Z"
> ]
> }
> }
> 
> ```

**Mapping**

> ```
> "_source": {
> "data_receiver": "2019-06-27T11:27:54+02:00",
> "pop": {
> "pop_abc": {
> "abc": [
> 13,
> 11995
> ],
> "def": [
> 86,
> 2596
> ]
> }
> },
> "name": "myname",
> "name_client": "myname_client"
> },
> "fields": {
> "data_receiver": [
> "2019-06-27T09:27:54.000Z"
> ]
> }
> }
> 
> ```

Thank you.

---

<div class="post-metadata">

### Author: ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)
#### Post date: [July 25, 2019, 5:04pm UTC](https://discuss.elastic.co/t/elk-query-display-data-from-list/187986/2 "2019-07-25T17:04:43Z")

</div>

Hi @Kamil_Szczur welcome to the community and sorry for the late reply.  
I think there is mistake on your post: you have posted two time the data model and not the mappings.

I've also have a second question: do you need to build a visualization with that query or you just want to see a DSL query that allow you to query in that way?

Third question: I'm not sure what do you mean by `index 1`? do you want to query that index to check if count/show all documents that has at least one value inside `pop_abc.abc` array \> 10 ? or any value inside every array of pop\_abc?

---

<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 22, 2019, 5:18pm UTC](https://discuss.elastic.co/t/elk-query-display-data-from-list/187986/3 "2019-08-22T17:18:17Z")

</div>

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