# How to config a non-default precision\_threshold for the unique count aggr in Kibana?

**URL:** <https://discuss.elastic.co/t/how-to-config-a-non-default-precision-threshold-for-the-unique-count-aggr-in-kibana/44934>\
**Category:** Kibana\
**Created:** [March 20, 2016, 4:16pm UTC](https://discuss.elastic.co/t/how-to-config-a-non-default-precision-threshold-for-the-unique-count-aggr-in-kibana/44934 "2016-03-20T16:16:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nir\_Reuveny](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@Nir\_Reuveny](https://discuss.elastic.co/u/Nir_Reuveny)\
**Post date:** [March 20, 2016, 4:16pm UTC](https://discuss.elastic.co/t/how-to-config-a-non-default-precision-threshold-for-the-unique-count-aggr-in-kibana/44934/1 "2016-03-20T16:16:07Z")

</div>

Hi,

I want to change the kibana code files on our server so the cardinality aggr request will use this by default:  
{"precision\_threshold":100}  
(instead of adding this to the custom json input every time...)

In older Kibana versions I did this, but can't find how to make this work with the newer versions.

Any help would be appreciated!

Thanks,

Nir

---

<div class="post-metadata">

**Author:** ![Nir\_Reuveny](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@Nir\_Reuveny](https://discuss.elastic.co/u/Nir_Reuveny)\
**Post date:** [March 23, 2016, 9:10am UTC](https://discuss.elastic.co/t/how-to-config-a-non-default-precision-threshold-for-the-unique-count-aggr-in-kibana/44934/2 "2016-03-23T09:10:19Z")

</div>

Anyone has any insights on this?

---

<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:58pm UTC](https://discuss.elastic.co/t/how-to-config-a-non-default-precision-threshold-for-the-unique-count-aggr-in-kibana/44934/3 "2017-07-06T13:58:09Z")

</div>


