You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs claim that an indicator's diagnosis' affected_resources is an "(Optional, array of strings)":
`affected_resources`::
(Optional, array of strings) If the root cause pertains to multiple resources in the
cluster (like indices, shards, nodes, etc...) this will hold all resources that this
diagnosis is applicable for.
I am observing that the value can be an object that contains a mapping of strings to arrays-of-strings:
{
"id": "elasticsearch:health:shards_availability:diagnosis:increase_tier_capacity_for_allocations:tier:data_content",
"cause": "Elasticsearch isn't allowed to allocate some shards from these indices to any of the nodes in the desired data tier because there are not enough nodes in the [data_content] tier to allocate each shard copy on a different node.",
"action": "Increase the number of nodes in this tier or decrease the number of replica shards in the affected indices.",
"help_url": "https://ela.st/tier-capacity",
"affected_resources": {
"indices": [
"logstash-test"
]
}
}
-- GET /_health_report
I do not have enough context to know whether the shape is always a map of resource-type to list-of-resources, or if that is simply the case for the diagnosis with id elasticsearch:health:shards_availability:diagnosis:increase_tier_capacity_for_allocations:tier:data_content.
Steps to Reproduce
GET /_health_report
Logs (if relevant)
No response
The text was updated successfully, but these errors were encountered:
Elasticsearch Version
8.13.0
Installed Plugins
No response
Java Version
bundled
OS Version
NA
Problem Description
The docs claim that an indicator's diagnosis'
affected_resources
is an "(Optional, array of strings)":I am observing that the value can be an object that contains a mapping of strings to arrays-of-strings:
I do not have enough context to know whether the shape is always a map of resource-type to list-of-resources, or if that is simply the case for the diagnosis with id
elasticsearch:health:shards_availability:diagnosis:increase_tier_capacity_for_allocations:tier:data_content
.Steps to Reproduce
GET /_health_report
Logs (if relevant)
No response
The text was updated successfully, but these errors were encountered: