# Visualization in Kibana for Custome field

**URL:** <https://discuss.elastic.co/t/visualization-in-kibana-for-custome-field/265993>\
**Category:** Kibana\
**Created:** [March 2, 2021, 5:13pm UTC](https://discuss.elastic.co/t/visualization-in-kibana-for-custome-field/265993 "2021-03-02T17:13:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Subrat\_Dash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/subrat_dash/32/84830_2.png) [@Subrat\_Dash](https://discuss.elastic.co/u/Subrat_Dash)\
**Post date:** [March 2, 2021, 5:13pm UTC](https://discuss.elastic.co/t/visualization-in-kibana-for-custome-field/265993/1 "2021-03-02T17:13:10Z")

</div>

HI All,  
We have application log in JSON format with key value pair and those keys are coming as Fields in Kibana GUI. WIth this field I am able to parse in text filter but those field does not have virtualization option neither those are showing under Visualization tab under Term.  
Please let us know how to use those custom added fields as Visualization

Regards,  
Subrat

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [March 5, 2021, 2:00am UTC](https://discuss.elastic.co/t/visualization-in-kibana-for-custome-field/265993/2 "2021-03-05T02:00:24Z")

</div>

Hello,

So Kibana is using term aggregations in elasticsearch. [Terms aggregation | Elasticsearch Reference [7.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html)

For Kibana to display the field you want in UI in visualizations under terms agg - the field has to be mapped as

```auto
 `terms` aggregation should be a field of type `keyword` or any other data type suitable for bucket aggregations. In order to use it with `text` you will need to enable [fielddata](https://www.elastic.co/guide/en/elasticsearch/reference/current/fielddata.html)."

So I suspect you will need to check your field mapping in elasticsearch and make changes to mappings if necessary.

Thanks
Bhavya
```

---

<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 2, 2021, 2:00am UTC](https://discuss.elastic.co/t/visualization-in-kibana-for-custome-field/265993/3 "2021-04-02T02:00:30Z")

</div>

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