# How to manage array in Kibana

**URL:** <https://discuss.elastic.co/t/how-to-manage-array-in-kibana/224863>\
**Category:** Kibana\
**Created:** [March 24, 2020, 2:33pm UTC](https://discuss.elastic.co/t/how-to-manage-array-in-kibana/224863 "2020-03-24T14:33:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![g\_k\_b](https://avatars.discourse-cdn.com/v4/letter/g/c67d28/32.png) [@g\_k\_b](https://discuss.elastic.co/u/g_k_b)\
**Post date:** [March 24, 2020, 2:33pm UTC](https://discuss.elastic.co/t/how-to-manage-array-in-kibana/224863/1 "2020-03-24T14:33:01Z")

</div>

Hi everyone, I'm a Kibana user and at the moment I'm quite stucked with something I want to solve...  
The question I kindly would ask you are 2:

1. In a Kibana visualization is it possible to represent the first element of the arrays related to a field?  
Let explain me better: I have a field stored as an array. In a document this field is found 100 times and each time the array is composed by 3 elements; I would like to represent something using only the first element of these arrays.  
Do you know if it is possible?

2. In a Kibana visualization is it possible to insert a custom filter (I mean writing the entire query manually) in order to say "if the field I'm using in the aggregation appears many time take it just once".

Thank you in advance to those people who will try to answer even only one of my questions :\*

---

<div class="post-metadata">

**Author:** ![Dzmitry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dzmitry/32/65026_2.png) [@Dzmitry](https://discuss.elastic.co/u/Dzmitry)\
**Post date:** [March 25, 2020, 1:19pm UTC](https://discuss.elastic.co/t/how-to-manage-array-in-kibana/224863/2 "2020-03-25T13:19:19Z")

</div>

Hi @g_k_b

I think you may find both answers in [the following topic](https://discuss.elastic.co/t/how-to-list-the-array-type-field/120308/4)

If you still have a problem, please provide data sample and visualisation type you would like to see.

Dzmitry

---

<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:** [April 22, 2020, 1:19pm UTC](https://discuss.elastic.co/t/how-to-manage-array-in-kibana/224863/3 "2020-04-22T13:19:35Z")

</div>

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