# Kibana Canvas - Ignore filters for fields that are not contained in the index

**URL:** <https://discuss.elastic.co/t/kibana-canvas-ignore-filters-for-fields-that-are-not-contained-in-the-index/146545>\
**Category:** Kibana\
**Created:** [August 29, 2018, 2:20pm UTC](https://discuss.elastic.co/t/kibana-canvas-ignore-filters-for-fields-that-are-not-contained-in-the-index/146545 "2018-08-29T14:20:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tarkin67](https://avatars.discourse-cdn.com/v4/letter/t/8797f3/32.png) [@tarkin67](https://discuss.elastic.co/u/tarkin67)\
**Post date:** [August 29, 2018, 2:20pm UTC](https://discuss.elastic.co/t/kibana-canvas-ignore-filters-for-fields-that-are-not-contained-in-the-index/146545/1 "2018-08-29T14:20:46Z")

</div>

Hi Canvas Team,

I am at the moment experimenting with canvas and very happy with it so far. One thing that bothers me a bit however, is that currently in canvas all filters are always applied to all elements. It would be nice to have a setting to ignore filters for fields that are not present in the index of a visualization. This would prevent certain views from receiving an empty dataset when a filter for a visualization with another index is set. In kibana there is the "courier:ignoreFilterIfFieldNotInIndex" option, however this does not have any effect on canvas visualizations.

Thanks and best regards

---

<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:** [August 30, 2018, 1:19pm UTC](https://discuss.elastic.co/t/kibana-canvas-ignore-filters-for-fields-that-are-not-contained-in-the-index/146545/2 "2018-08-30T13:19:06Z")

</div>

@Catherine_Liu can you please take this question?

Cheers,  
Bhavya

---

<div class="post-metadata">

**Author:** ![Catherine\_Liu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/catherine_liu/32/34294_2.png) [@Catherine\_Liu](https://discuss.elastic.co/u/Catherine_Liu)\
**Post date:** [August 30, 2018, 3:43pm UTC](https://discuss.elastic.co/t/kibana-canvas-ignore-filters-for-fields-that-are-not-contained-in-the-index/146545/3 "2018-08-30T15:43:48Z")

</div>

To opt out of the filters, you can remove `filters |` from the beginning of your element's expression. Currently, the Canvas filters work differently from the ones in used in Kibana, and we don't support `courier:ignoreFilterIfFieldNotInIndex` setting. However, we do plan to make improvements to our filter architecture to make it easier to opt in/out of filters.

---

<div class="post-metadata">

**Author:** ![tarkin67](https://avatars.discourse-cdn.com/v4/letter/t/8797f3/32.png) [@tarkin67](https://discuss.elastic.co/u/tarkin67)\
**Post date:** [August 31, 2018, 6:17am UTC](https://discuss.elastic.co/t/kibana-canvas-ignore-filters-for-fields-that-are-not-contained-in-the-index/146545/4 "2018-08-31T06:17:38Z")

</div>

Thank you for your response. This is a start already, however I would like to be able to still filter on other fields that are present in the visualization's index and not just remove all filtering whatsoever. 🙂 Looking forward to what comes next!

---

<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 28, 2018, 6:17am UTC](https://discuss.elastic.co/t/kibana-canvas-ignore-filters-for-fields-that-are-not-contained-in-the-index/146545/5 "2018-09-28T06:17:50Z")

</div>

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