# How to disable pie filter for some metric

**URL:** <https://discuss.elastic.co/t/how-to-disable-pie-filter-for-some-metric/157912>\
**Category:** Kibana\
**Created:** [November 22, 2018, 4:15pm UTC](https://discuss.elastic.co/t/how-to-disable-pie-filter-for-some-metric/157912 "2018-11-22T16:15:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cyber\_Bobak](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@Cyber\_Bobak](https://discuss.elastic.co/u/Cyber_Bobak)\
**Post date:** [November 22, 2018, 4:15pm UTC](https://discuss.elastic.co/t/how-to-disable-pie-filter-for-some-metric/157912/1 "2018-11-22T16:15:35Z")

</div>

Hello,

I've in dashboard 2 metrics, every has different index source & pie which is using the second index.The pie is filtering on field 'severity' which exist only in second index. Issue is that when I click on the pie then metric value of first metric, (no 'severity' field) is always reset to 0.

How can I exclude that the filter will not be applied to first metric ?  
I tried to set on pie filter: 'if severity exists'.

Than You

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [November 22, 2018, 4:39pm UTC](https://discuss.elastic.co/t/how-to-disable-pie-filter-for-some-metric/157912/2 "2018-11-22T16:39:29Z")

</div>

I believe you can handle this through the `courier:ignoreFilterIfFieldNotInIndex` parameter under [Advanced Options](https://www.elastic.co/guide/en/kibana/6.5/advanced-options.html).

---

<div class="post-metadata">

**Author:** ![Cyber\_Bobak](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@Cyber\_Bobak](https://discuss.elastic.co/u/Cyber_Bobak)\
**Post date:** [November 22, 2018, 5:20pm UTC](https://discuss.elastic.co/t/how-to-disable-pie-filter-for-some-metric/157912/3 "2018-11-22T17:20:25Z")

</div>

It's still not working ☹ Some other settings ?

---

<div class="post-metadata">

**Author:** ![Cyber\_Bobak](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@Cyber\_Bobak](https://discuss.elastic.co/u/Cyber_Bobak)\
**Post date:** [November 22, 2018, 7:06pm UTC](https://discuss.elastic.co/t/how-to-disable-pie-filter-for-some-metric/157912/4 "2018-11-22T19:06:47Z")

</div>

It's interesting, field 'severity' has only two values, 4 & 5.  
When I remove manually the filter generated by clicking on pie ('severity is 4' ) and set reverse logic: 'severity is not 5' then the value for the metric will not change.I forgot to mention Kibana ver: 6.4.3.

---

<div class="post-metadata">

**Author:** ![Cyber\_Bobak](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@Cyber\_Bobak](https://discuss.elastic.co/u/Cyber_Bobak)\
**Post date:** [November 23, 2018, 1:46pm UTC](https://discuss.elastic.co/t/how-to-disable-pie-filter-for-some-metric/157912/5 "2018-11-23T13:46:10Z")

</div>

I installed fresh version of Kibana:

kibana-6.5.1-1.x86\_64  
elasticsearch-6.5.1-1.noarch  
logstash-6.5.1-1.noarch

set 'courier:ignoreFilterIfFieldNotInIndex' to true in 'Adnvanced settings' and the issue is same.

May I ask some experienced user how to fix it ?

Thank You

---

<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:** [December 21, 2018, 1:46pm UTC](https://discuss.elastic.co/t/how-to-disable-pie-filter-for-some-metric/157912/6 "2018-12-21T13:46:22Z")

</div>

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