We are running Graylog in kubernetes along with elasticsearch. Recently we had issue with diskspace, and elasticsearch cluster started showing status red. Just added more diskspace, and tried to restart the pods(elasticsearch) in cluster, but ended up in the situation where pods/elasticsearch app wont start as the logs show cluster status is red.
So I think the main issue is how to recover elasticsearch cluster from status red?
This issue is about elasticsearch, but I believe graylog users are facing this, so Iâll try to look for the fix also from hereâŠ
curl -X GET âlocalhost:9200/_cluster/health?prettyâ
{
âcluster_nameâ : âelasticsearchâ,
âstatusâ : âredâ,
âtimed_outâ : false,
ânumber_of_nodesâ : 3,
ânumber_of_data_nodesâ : 3,
âactive_primary_shardsâ : 120,
âactive_shardsâ : 120,
ârelocating_shardsâ : 0,
âinitializing_shardsâ : 0,
âunassigned_shardsâ : 2,
â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.36065573770492
}