I got this with the command above
{
"index" : ".opendistro-alerting-alerts",
"shard" : 0,
"primary" : false,
"current_state" : "unassigned",
"unassigned_info" : {
"reason" : "CLUSTER_RECOVERED",
"at" : "2024-07-19T06:56:14.556Z",
"last_allocation_status" : "no_attempt"
},
"cluster_info" : {
"nodes" : { },
"shard_sizes" : { },
"shard_paths" : { },
"reserved_sizes" : [ ]
},
"can_allocate" : "no",
"allocate_explanation" : "cannot allocate because allocation is not permitted to any of the nodes",
"node_allocation_decisions" : [
{
"node_id" : "xPG_eBdOTeKcVpxZ_naZpQ",
"node_name" : "wazuh.indexer",
"transport_address" : "
10.10.41.2:9300",
"node_attributes" : {
"shard_indexing_pressure_enabled" : "true"
},
"node_decision" : "no",
"deciders" : [
{
"decider" : "same_shard",
"decision" : "NO",
"explanation" : "a copy of this shard is already allocated to this node [[.opendistro-alerting-alerts][0], node[xPG_eBdOTeKcVpxZ_naZpQ], [P], s[STARTED], a[id=NAPEtnijSnegqwbGupaWIw]]"
}
]
}
]
}
also, trying curl -k -u <user>:<passwd> -X GET "
https://localhost:9200/_settings?pretty" | jq 'to_entries | .[-1].value' gets me this:
....
{
"settings": {
"index": {
"replication": {
"type": "DOCUMENT"
},
"refresh_interval": "5s",
"number_of_shards": "1",
"provided_name": "wazuh-statistics-2024.25w",
"creation_date": "1718702400851",
"number_of_replicas": "0",
"uuid": "nF4iIKyJSoexalK3IQL7mw",
"version": {
"created": "136317827"
}
}
}
}
I put the latest element, but on all replication fields value is "DOCUMENT"