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
[SLO] Adding Data Views to index pattern selector #158033
[SLO] Adding Data Views to index pattern selector #158033
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
Pinging @elastic/actionable-observability (Team: Actionable Observability) |
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!
## Summary This PR adds support for picking Data Views to the index selector for the Custom KQL indicator. However, this doesn't actually attach the Data View to the SLO definition, this is only a convenient way to re-use the index pattern defined in the Data View. Keep in mind that if a user updates a Data View, they will need to update the SLO as well since the SLO service uses transforms behind the scenes; transforms do not support Kibana Data Views and there isn't a way to detect when the Data View is updated to re-create the transform. This PR also filters out hidden indices OR indices whose names are prefixed with a dot. <img width="953" alt="image" src="https://github.com/elastic/kibana/assets/41702/ef477f63-f89d-4733-aa19-95138d735967">
Summary
This PR adds support for picking Data Views to the index selector for the Custom KQL indicator. However, this doesn't actually attach the Data View to the SLO definition, this is only a convenient way to re-use the index pattern defined in the Data View. Keep in mind that if a user updates a Data View, they will need to update the SLO as well since the SLO service uses transforms behind the scenes; transforms do not support Kibana Data Views and there isn't a way to detect when the Data View is updated to re-create the transform.
This PR also filters out hidden indices OR indices whose names are prefixed with a dot.