# Visualization on document containing list

**URL:** https://discuss.elastic.co/t/visualization-on-document-containing-list/54812
**Category:** Kibana
**Created:** [July 6, 2016, 10:23am UTC](https://discuss.elastic.co/t/visualization-on-document-containing-list/54812 "2016-07-06T10:23:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![wally](https://avatars.discourse-cdn.com/v4/letter/w/9de053/32.png) [@wally](https://discuss.elastic.co/u/wally)
#### Post date: [July 6, 2016, 10:23am UTC](https://discuss.elastic.co/t/visualization-on-document-containing-list/54812/1 "2016-07-06T10:23:03Z")

</div>

I have searched in the forum but could not find the relevant discussion.

If a document contains a field which is a list of values (e.g. ['p', 'q', 'r']), then this field cannot be chosen as a term for visualization?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [July 7, 2016, 12:28am UTC](https://discuss.elastic.co/t/visualization-on-document-containing-list/54812/2 "2016-07-07T00:28:41Z")

</div>

No because it is not a term, it is an array.

I'm not sure if this can be graphed.

---

<div class="post-metadata">

### Author: ![wally](https://avatars.discourse-cdn.com/v4/letter/w/9de053/32.png) [@wally](https://discuss.elastic.co/u/wally)
#### Post date: [July 7, 2016, 1:24am UTC](https://discuss.elastic.co/t/visualization-on-document-containing-list/54812/3 "2016-07-07T01:24:17Z")

</div>

Thanks. After quick search with 'array' keyword, I found this, but need time to see whether it is useful for my case:

> [@Dealing with array data](https://discuss.elastic.co/t/dealing-with-array-data/32703):
>
> I'm new to Kibana and have an issue I'm trying to resolve. I have some JSON that is similiar to the following: "service": { { "protocol": "tcp", "port": "80", "address": "127.0.0.1" }, { "protocol": "tcp", "port": "80", "address": "192.168.0.1" }, { "protocol": "tcp", "port": "80", "address": "172.16.0.1" } } It's my understanding that Kibana 4 doesn't support arrays so that data is displayed in Kibana as one big string value under the "service" key. I need to be able to use the "address" fi…

---

<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 6, 2017, 1:48pm UTC](https://discuss.elastic.co/t/visualization-on-document-containing-list/54812/4 "2017-07-06T13:48:03Z")

</div>


