Get deprecation information
Generally available; Added in 6.1.0
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.
TIP: 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
GET
/_migration/deprecations
Console
GET /_migration/deprecations
curl \
--request GET 'http://api.example.com/_migration/deprecations' \
--header "Authorization: $API_KEY"
Response examples (200)
An abbreviated response from `GET /_migration/deprecations`.
{
"cluster_settings": [
{
"level": "critical",
"message": "Cluster name cannot contain ':'",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/7.0/breaking-changes-7.0.html#_literal_literal_is_no_longer_allowed_in_cluster_name",
"details": "This cluster is named [mycompany:logging], which contains the illegal character ':'."
}
],
"node_settings": [],
"index_settings": {
"logs:apache": [
{
"level": "warning",
"message": "Index name cannot contain ':'",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/7.0/breaking-changes-7.0.html#_literal_literal_is_no_longer_allowed_in_index_name",
"details": "This index is named [logs:apache], which contains the illegal character ':'."
}
]
},
"ml_settings": []
}