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.

apt-key warning when sudo apt update run

Issue: apt-key warning when sudo apt update run Update below file: cat /etc/apt/sources.list.d/download_docker_com_linux_ubuntu.list ...