Friday, September 1, 2023

Elasticsearch Index Red / Yellow



Issue: Elasticsearch Index Red / Yellow

Connect to Stack management in kibana:
Kibana -> DevTools
# Get cluster health
GET _cluster/health

# Get Index helath - Look for the red/yellow index
GET /_cat/indices

# Update number_of_replicas to 0.
PUT /.ds-logs-apm.error-default-2023.10.06-000002/_settings
{
  "number_of_replicas": 0
}

#This will change for all index with this patent
PUT /.ds-traces-apm-default-2023*/_settings
{
  "number_of_replicas": 0
}

This should resolve issue.

Ubuntu - Install K9S

wget https://github.com/derailed/k9s/releases/latest/download/k9s_linux_amd64.deb sudo apt install ./k9s_linux_amd64.deb rm k9s_linux_...