I am having this same issue. I only have 1 Elasticsearch node, so having any replicas at all causes my health to go yellow. And because of this, I believe ILM is not working properly.
Anyone have a solution to assigning the system index ".ds-.fleet-actions-results" to 0 replicas?
I posted about this too, when I try to manually change for a single index
curl -XPUT -k -u elastic:$pass https://192.168.131.155:9200/.ds-.fleet-actions-results-2022.03.22-000002/_settings -d '{"logs-*": {"number_of_replicas": "0"}}' -H 'Content-Type: application/json'
{"error":{"root_cause":[{"type":"security_exception","reason":"action [indices:admin/settings/update] is unauthorized for user [elastic] with roles [superuser] on restricted indices [.ds-.fleet-actions-results-2022.03.22-000002], this action is granted by the index privileges [manage,all]"}],"type":"security_exception","reason":"action [indices:admin/settings/update] is unauthorized for user [elastic] with roles [superuser] on restricted indices [.ds-.fleet-actions-results-2022.03.22-000002], this action is granted by the index privileges [manage,all]"},"status":403}
I've created an index template, but now I can't delete that either, since it's in use
In the past I would just modify the pattern and save, then delete but can't do that here
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.