@Christian_Dahlqvist, I just figured out that my problem may not due to the .monitoring-es-* index. It happened after I restart elasticsearch service. Most of shards is unassigned after I restarted elasticsearch and I think it caused my indices is not indexed too. I followed the directions of Mr. andy_zhou in this post Unassigned shards, crashed cluster recovery and reconfigure my cluster as follow
curl -XPUT 'XXX.XXX.XXX.XXX:9200/_cluster/settings?pretty 33' -H 'Content-Type: application/json' -d'
{
"persistent" : {
"cluster.routing.allocation.enable": "all",
"cluster.routing.rebalance.enable": "all"
},
"transient": {
"cluster.routing.allocation.enable": "all",
"cluster.routing.rebalance.enable": "all"
}
}
'
My cluster runs with one node with version information I shared above.
Here is more logs: