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

Missing filter for specific node vis #757

Closed
jesusgn90 opened this issue Jul 30, 2018 · 1 comment
Closed

Missing filter for specific node vis #757

jesusgn90 opened this issue Jul 30, 2018 · 1 comment
Assignees
Labels
type/bug Bug issue

Comments

@jesusgn90
Copy link
Contributor

Hello team, our section named Management > Monitoring is missing the cluster.node filter when looking for specific node because we are not providing it to the directive. The solutions is as simple as:

const monitoringFilter = discoverList[1].filter(item => item && item.meta && item.meta.key && (item.meta.key.includes('cluster.name') || item.meta.key.includes('cluster.node')));
                    
// Applying specific filter to cluster monitoring vis
if (Array.isArray(monitoringFilter) && monitoringFilter.length) {
   visualization.searchSource.set('filter',monitoringFilter);
}

Regards,
Jesús

@jesusgn90
Copy link
Contributor Author

Done: #758

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Bug issue
Projects
None yet
Development

No branches or pull requests

1 participant