-
Notifications
You must be signed in to change notification settings - Fork 525
Use *metrics-* as index pattern for adHocDataviews used in Kubernetes Cluster Overview dashboard #6603
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
Use *metrics-* as index pattern for adHocDataviews used in Kubernetes Cluster Overview dashboard #6603
Conversation
… Cluster Overview dashboard
🌐 Coverage report
|
tetianakravchenko
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
stratoula
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing vis specific here, LGTM!
|
Package kubernetes - 1.43.0 containing this change is available at https://epr.elastic.co/search?package=kubernetes |
| "sourceFilters": [], | ||
| "timeFieldName": "@timestamp", | ||
| "title": "metrics-*" | ||
| "title": "*metrics-*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi there,
I think it should be actually metrics-*,*:metrics-* otherwise you are only checking in the local cluster (not performing CCS) and you are looking for indices that starts with metics locally e.g., foometrics would also be checked (which does not really make sense).
Something similar have been used here elastic/kibana#161016
|
Hi there, I think it should be actually Something similar have been used here elastic/kibana#161016 |
|
Hello @herrBez , so you are saying that actually I can confirm your saying with following tests: Pattern: Pattern I will update acordingly |
|
Yes, it is exactly what I am saying :) . So the right value should be |
|
@gizas FYI my team implemented the K8S integration this week and started receiving errors on the "Overview" dashboard for a missing node role: "remote_cluster_client". Turns out that if your Elasticsearch nodes do not have this role the dashboards break because of the |


What does this PR do?
This PR updates the index pattern used for all adHoc data views used in Kubernetes Cluster Overview dashboard.
The reason is that this index pattern does not work in cross cluster search use cases where metrics come from different sources and use different patterns.
An wider index-pattern like
*metrics-*is tested to solve the issue.Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Related issues