# Kibana Vega visualizations don't honor courier:ignoreFilterIfFieldNotInIndex settings

**URL:** https://discuss.elastic.co/t/kibana-vega-visualizations-dont-honor-courier-ignorefilteriffieldnotinindex-settings/348962
**Category:** Kibana
**Tags:** vega, dashboard
**Created:** [December 9, 2023, 3:45pm UTC](https://discuss.elastic.co/t/kibana-vega-visualizations-dont-honor-courier-ignorefilteriffieldnotinindex-settings/348962 "2023-12-09T15:45:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Prakash\_Gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prakash_gupta/32/100267_2.png) [@Prakash\_Gupta](https://discuss.elastic.co/u/Prakash_Gupta)
#### Post date: [December 9, 2023, 3:45pm UTC](https://discuss.elastic.co/t/kibana-vega-visualizations-dont-honor-courier-ignorefilteriffieldnotinindex-settings/348962/1 "2023-12-09T15:45:10Z")

</div>

I have a dashboard where I have multiple metrics visualizations from different indices including lenses and vega. If I apply a filter on the dashboard, I just wanted the visualizations which are having the field should only be filtered and others simply ignore it and I am able to do it using courier:ignoreFilterIfFieldNotInIndex settings.  
Unfortunately, vega visualizations still getting filtered by a filter which is not applicable to it. The settings are not working for it.  
Its clearly a bug. Could someone please help me what should I do to make it work.  
Steps to reproduce are as follows:

1. Create a dashboard with 2 visualizations from different indexes
2. One dashboard can be anything like a lens with index 1
3. second dashboard should be a vega visualization with index 2 . It should have %context%: true
4. Apply a filter from index 1 . make sure the same field is not available in index 2

You will find the vega won't show any data since its trying to apply the filter on it.

---

<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: [December 27, 2023, 11:10pm UTC](https://discuss.elastic.co/t/kibana-vega-visualizations-dont-honor-courier-ignorefilteriffieldnotinindex-settings/348962/2 "2023-12-27T23:10:29Z")

</div>

ah - this sounds like a bug. cc @devon.thomson  
Could you please log it here? [Sign in to GitHub · GitHub](https://github.com/elastic/kibana/issues/new/choose)

Thanks!  
Bhavya

---

<div class="post-metadata">

### Author: ![devon.thomson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/devon.thomson/32/85468_2.png) [@devon.thomson](https://discuss.elastic.co/u/devon.thomson)
#### Post date: [January 2, 2024, 4:13pm UTC](https://discuss.elastic.co/t/kibana-vega-visualizations-dont-honor-courier-ignorefilteriffieldnotinindex-settings/348962/3 "2024-01-02T16:13:34Z")

</div>

I've opened [this](https://github.com/elastic/kibana/issues/174100) public facing issue.

---

<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: [January 30, 2024, 4:14pm UTC](https://discuss.elastic.co/t/kibana-vega-visualizations-dont-honor-courier-ignorefilteriffieldnotinindex-settings/348962/4 "2024-01-30T16:14:05Z")

</div>

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