I may be doing something stupid. I'm sure I've queried under older versions but can't seem to query through the API or console to determine current cluster shard allocation setting - is anybody able to assist please?
I can enable and disable with a PUT but if I try the console with the following: -
GET _cluster/settings
{
"persistent": {
"cluster.routing.allocation.enable"
}
}
I get error: -
{
"error": "Incorrect HTTP method for uri [/_cluster/settings?pretty] and method [POST], allowed: [PUT, GET]",
"status": 405
}