elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.71k stars 8.13k forks source link

Vega charts don't take `courier:ignoreFilterIfFieldNotInIndex` into account #174100

Closed ThomThomson closed 8 months ago

ThomThomson commented 8 months ago

Describe the bug: When courier:ignoreFilterIfFieldNotInIndex is on, vega charts are still affected by filters which should not apply to them.

Steps to reproduce:

  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

Expected behavior: Vega charts should work correctly with the courier:ignoreFilterIfFieldNotInIndex setting.

Any additional context: originally reported in https://discuss.elastic.co/t/kibana-vega-visualizations-dont-honor-courier-ignorefilteriffieldnotinindex-settings/348962

elasticmachine commented 8 months ago

Pinging @elastic/kibana-visualizations (Team:Visualizations)

stratoula commented 8 months ago

Closing in favor of https://github.com/elastic/kibana/issues/88044