# How to aggregate particular field in kibana index

**URL:** <https://discuss.elastic.co/t/how-to-aggregate-particular-field-in-kibana-index/145160>\
**Category:** Kibana\
**Created:** [August 20, 2018, 12:26pm UTC](https://discuss.elastic.co/t/how-to-aggregate-particular-field-in-kibana-index/145160 "2018-08-20T12:26:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pradnya](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@Pradnya](https://discuss.elastic.co/u/Pradnya)\
**Post date:** [August 20, 2018, 12:26pm UTC](https://discuss.elastic.co/t/how-to-aggregate-particular-field-in-kibana-index/145160/1 "2018-08-20T12:26:41Z")

</div>

Hi,  
I have configured filebeat\>logstash\>elasticsearch\>kibana to get jenkins build logs.  
in Kibana i am receiving logs under which field-message which shows build job status(successful or failure)  
i want to make that particular field aggregatable and visualize build status with pie chart.  
can anyone help in this?

Thanks.

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [August 20, 2018, 5:08pm UTC](https://discuss.elastic.co/t/how-to-aggregate-particular-field-in-kibana-index/145160/2 "2018-08-20T17:08:59Z")

</div>

Hi,  
There should be a 'aggregatable' column in the index field table in Management -\> Index Patterns, which lists all the fields that can be used to aggregate.I n order to use the field for aggregations, the `type` should be `keyword` .

See: [https://www.elastic.co/guide/en/elasticsearch/reference/current/text.html 508](https://www.elastic.co/guide/en/elasticsearch/reference/current/text.html)

hope this helps  
Rashmi

---

<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 17, 2018, 5:23pm UTC](https://discuss.elastic.co/t/how-to-aggregate-particular-field-in-kibana-index/145160/3 "2018-09-17T17:23:38Z")

</div>

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