I keep on getting unassigned shards.
curl -X GET "
https://localhost:9200/_cluster/health?pretty" -u admin:pass -k
{
"cluster_name" : "wazuh-cluster",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"discovered_master" : true,
"active_primary_shards" : 777,
"active_shards" : 777,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 9,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 98.85496183206108
}
curl -X GET "
https://localhost:9200/_cat/shards?h=index,shard,prirep,state,unassigned.reason" -u admin:pass-k | grep UNASSIGNED
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0.opendistro-ism-managed-index-history-2022.12.09-000038 0 r UNASSIGNED INDEX_CREATED
.opendistro-ism-managed-index-history-2022.12.08-000037 0 r UNASSIGNED INDEX_CREATED
100 56717 100 56717 0.opendistro-ism-managed-index-history-2022.12.06-000035 0 r UNASSIGNED CLUSTER_RECOVERED
0 .opendistro-ism-managed-index-history-2022.12.14-000043 0 r UNASSIGNED INDEX_CREATED
581.opendistro-ism-managed-index-history-2022.12.10-000039 0 r UNASSIGNED INDEX_CREATED
71 0 -.opendistro-ism-managed-index-history-2022.12.12-000041 0 r UNASSIGNED INDEX_CREATED
-:--.opendistro-ism-managed-index-history-2022.12.11-000040 0 r UNASSIGNED INDEX_CREATED
:-.opendistro-ism-managed-index-history-2022.12.07-000036 0 r UNASSIGNED CLUSTER_RECOVERED
- --:--:-- --:--:-- 58111
.opendistro-ism-managed-index-history-2022.12.13-000042 0 r UNASSIGNED INDEX_CREATED
I did all the tings mentioned here on the group. Assigned the number of replica to 0, but the shards keep on getting created and unassigned. What can I do to solve this issue?