Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vega add filter integration errors with non-default index pattern #56833

Closed
flash1293 opened this issue Feb 5, 2020 · 2 comments · Fixed by #84090
Closed

Vega add filter integration errors with non-default index pattern #56833

flash1293 opened this issue Feb 5, 2020 · 2 comments · Fixed by #84090
Labels
bug Fixes for quality problems that affect the customer experience Feature:Filters Feature:Vega Vega visualizations Team:Visualizations Visualization editors, elastic-charts and infrastructure triage_needed

Comments

@flash1293
Copy link
Contributor

Kibana version: master

Elasticsearch version:

Server OS version:

Browser version:

Browser OS version:

Original install method (e.g. download page, yum, from source, etc.):

Describe the bug: Using the kibanaAddFilter vega integration to set filters from within vega does not work correctly when the filter is applied to a field which isn't present in the default index pattern. This happens because the filter manager is looking up the field by name in the default index pattern and doesn't check for the case it is not available.

Steps to reproduce:

  1. Pick ecommerce sample index pattern as default one
  2. Ingest some logstash data
  3. Create this vega visualization: https://gist.github.com/nyurik/3c579fb8e81c8a981d4b267ad1767227
  4. Click one of the extension labels on the left

Expected behavior:
Should not crash the filter bar

Screenshots (if relevant):
Screenshot 2020-02-05 at 10 39 43

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:

@flash1293 flash1293 added bug Fixes for quality problems that affect the customer experience Feature:Filters Feature:Vega Vega visualizations Team:Visualizations Visualization editors, elastic-charts and infrastructure Team:AppArch labels Feb 5, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Filters Feature:Vega Vega visualizations Team:Visualizations Visualization editors, elastic-charts and infrastructure triage_needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants