Monday, March 18, 2019

ELK STACK DISK USED COMPLETELY



we can not  see the logs in  gui kibana discover.
no data in kibana dashboards.
if we see the logs all indices moved to readonly mode.


 df -h   // scheck the disk utilization
 sudo du -h /var/lib/elasticsearch/  //check the disk utilization of directories
curl -Ss -k https://admin:admin@localhost:9200/_cat/indices?v&s=store.size:desc             //   size of indices in MB
curl -Ss -k -X DELETE "https://admin:admin@localhost:9200/.monitoring-es-6-2019.*"          //    remove the indices

Execute the following statement in the kibana development console.


PUT _settings

{

"index": {

"blocks": {

"read_only_allow_delete": "false"

}

}

}

'