Get deprecation information
- GET /{index}/_migration/deprecations
- GET /_migration/deprecations
Get information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.
This APIs is designed for indirect use by the Upgrade Assistant. You are strongly recommended to use the Upgrade Assistant.
Required authorization
- Cluster privileges manage
Response
-
cluster_settingsobjectrequired -
Cluster-level deprecation warnings.
-
levelrequired -
The level property describes the significance of the issue.
Supported values include:
noneinfowarning: You can upgrade directly, but you are using deprecated functionality which will not be available or behave differently in the next major version.critical: You cannot upgrade without fixing this problem.
-
Values:
noneinfowarningcritical -
index_settingsmap string to objectrequired -
Index warnings are sectioned off per index and can be filtered using an index-pattern in the query. This section includes warnings for the backing indices of data streams specified in the request path.
-
node_settingsobjectrequired -
Node-level deprecation warnings. Since only a subset of your nodes might incorporate these settings, it is important to read the details section for more information about which nodes are affected.
-
levelrequired -
The level property describes the significance of the issue.
Supported values include:
noneinfowarning: You can upgrade directly, but you are using deprecated functionality which will not be available or behave differently in the next major version.critical: You cannot upgrade without fixing this problem.
-
Values:
noneinfowarningcritical -
ml_settingsobjectrequired -
Machine learning-related deprecation warnings.
-
levelrequired -
The level property describes the significance of the issue.
Supported values include:
noneinfowarning: You can upgrade directly, but you are using deprecated functionality which will not be available or behave differently in the next major version.critical: You cannot upgrade without fixing this problem.
-
Values:
noneinfowarningcritical