-
Notifications
You must be signed in to change notification settings - Fork 924
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
[BUG] Dashboard filter ignores index pattern #7238
Comments
As a workaround the following filter works:
|
Hello @franco-martin, Can you please try setting this setting in your Advanced Settings:
And lemme know if this is what you were looking for? |
That did seem to fix it for when using multiple indices. But when using the same index, it doesn't fix it completely. In my scenario, I got kubernetes nodes that have metricbeat installed on them and they send "fields.role: kubernetes". I also got metricbeat running as a deployment within kubernetes to get the state of pods, nodes, etc but it doesn't send fields.role: kubernetes". In this second scenario when I filter for "fields.role: kubernetes" the visualizations that use the fields from pod state are also filtered and don't show any data. |
Describe the bug
When using multiple index patterns in a dashboards, creating a filter applies it to all index patterns regardless of the "index pattern" field.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The filter should only be applied to the index patterns that are selected.
OpenSearch Version
2.13.0
Dashboards Version
2.13.0
Plugins
Please list all plugins currently enabled.
Screenshots
Host/Environment (please complete the following information):
Additional context
In the attached screenshots I'm using data from metricbeat and a custom app called cluster-monitor. Metricbeat has fields.role while cluster-monitor doesn't have it.
The dashboard has visualizations that use both index patterns.
I have a generic load visualization that displays system load over time using tsvb and I'd like to use it to filter the role in the dashboard instead of having to create copies of the visualizations for each filter.
The text was updated successfully, but these errors were encountered: