# Number of Fields showing in Kibana

**URL:** <https://discuss.elastic.co/t/number-of-fields-showing-in-kibana/63795>\
**Category:** Kibana\
**Created:** [October 24, 2016, 7:27pm UTC](https://discuss.elastic.co/t/number-of-fields-showing-in-kibana/63795 "2016-10-24T19:27:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishnu](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@vishnu](https://discuss.elastic.co/u/vishnu)\
**Post date:** [October 24, 2016, 7:27pm UTC](https://discuss.elastic.co/t/number-of-fields-showing-in-kibana/63795/1 "2016-10-24T19:27:20Z")

</div>

Hi,

I have create my own custom fields in kibana. when i expand that i see only field saying that it is based on Top 5 fields based on the documents in the table. Is there any way i can sort displaying unique values kibana analysed

![](https://us1.discourse-cdn.com/elastic/original/2X/6/62ebd782166f496b1afc8ad49a5a625b2b88b5e8.JPG)

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [October 24, 2016, 11:45pm UTC](https://discuss.elastic.co/t/number-of-fields-showing-in-kibana/63795/2 "2016-10-24T23:45:04Z")

</div>

Hi Vishnu,

I'm sorry, but I'm not sure I understand. I have a few questions to help me understand your situation better:

1. When you say you "created your own custom fields", do you mean you created some scripted fields?
2. What are the names of the scripted fields that you created?
3. What do you mean that it is"based on the top 5 fields"?
4. When you ask if you can "sort unique values", do you mean you want to sort the results in Discover? Is there a particular order in which you want to sort them?

Thanks,  
CJ

---

<div class="post-metadata">

**Author:** ![vishnu](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@vishnu](https://discuss.elastic.co/u/vishnu)\
**Post date:** [October 25, 2016, 6:16pm UTC](https://discuss.elastic.co/t/number-of-fields-showing-in-kibana/63795/3 "2016-10-25T18:16:32Z")

</div>

Hi CJ,

Thank You for the response

The custom fields meaning i have created using grok filter.

The quick count is showing "based on Top 5 fields based on the documents in the table". Is there any way where the quick count values are shown unique way not just top 5 values.

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [October 25, 2016, 9:36pm UTC](https://discuss.elastic.co/t/number-of-fields-showing-in-kibana/63795/4 "2016-10-25T21:36:25Z")

</div>

I suggest using a data-table in visualize, then adding a "bucket", to "split rows", using the "terms" aggregation on your field. Then you will be able to set the number of terms you want to get back and they will always be unique

---

<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:35pm UTC](https://discuss.elastic.co/t/number-of-fields-showing-in-kibana/63795/5 "2017-07-06T13:35:39Z")

</div>


