-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Expose deprecation indices to upgrade assistant #46107
Comments
Pinging @elastic/es-core-features |
II think it would be great if there was one way to access deprecation information. Not only because it would be useful from upgrade assistant, but to also make it easier to upgrade for users who don't use kibana (I think there was a question about this during last stack-upgrade sync) Deprecation info checks are using cluster, node and index settings and have to be triggered 'on demand' - that means we won't be able to avoid that call from upgrade assistant (or someone doing this from console). Because of this I appears to me that the first suggested option (wrapping logs as a result form `/_migration/deprecation/') would be more preferable. |
Discussed this issue today and a few things have changed since initially logged.
Given that one of motivating factors was that these were going to be system indices, but are now data streams (and we don't have system or hidden data streams) the need for a dedicated 'read' end point is not necessary. Also with the data stream and the new indexing strategy a 'write` endpoint is also not needed, and likely not desirable since the new indexing strategy with ECS fields should be sufficient and familiar way to handle these types of logs. Finally we discussed that a dedicated read end point only allows for a curated experience could come at the expense of being able to use standard tooling such as Kibana visualizations or alerts based on aggregations which some more advanced users may want to help track or monitor their usage of deprecated components. There are still plans to for a curated experience with these logs, but those discussions are not finalized and a dedicated endpoint is likely unnecessary. |
This issue is contingent on #46106. See that issue for most of the context.
If we do decide to proceed with the proposal in that issue in one form or another, we then need to consider how to expose such deprecation indices to the upgrade assistant. Do we want to treat exposing them as part of the
/_migration/deprecations
endpoint, or do we want the upgrade assistant to access the deprecation indices directly (through an API on top of them as part of being system indices)?The text was updated successfully, but these errors were encountered: