You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
Here we want to list the common issues faced with ELK and their solutions
The cluster status or an index is red
heetis@HEE-TIS-VM-PROD-ES:~$ curl http://127.0.0.1:9200/_cat/indices|grep red
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16875 100 16875 0 0 265k 0 --:--:-- --:--:-- --:--:-- 270k
heetis@HEE-TIS-VM-PROD-ES:~$
heetis@HEE-TIS-VM-DEV-ES:~$ curl -XGET localhost:9200/_cat/shards?h=index,shard,prirep,state,unassigned.reason| grep UNASSIGNED
heetis@HEE-TIS-VM-DEV-ES:~$
heetis@HEE-TIS-VM-DEV-ES:~$ curl -XPUT 'localhost:9200/_cluster/settings' -d '{ "persistent":
{ "cluster.routing.allocation.enable" : "all"
}
}
heetis@HEE-TIS-VM-DEV-ES:~$
Some indices are yellow
heetis@HEE-TIS-VM-UAT-ES:~$ curl http://127.0.0.1:9200/_cat/indices|grep yellow
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16576 100 16576 0 0 695k 0 --:--:-- --:--:-- --:--:-- 703k
yellow open .kibana 1 1 1 0 3kb 3kb
heetis@HEE-TIS-VM-UAT-ES:~$
heetis@HEE-TIS-VM-UAT-ES:~$ curl -XPUT 'localhost:9200/.kibana/_settings' -d '{"number_of_replicas": 0}'
heetis@HEE-TIS-VM-UAT-ES:~$
To list all backup repositories
To list all snapshots in the repository (elasticsearch)
To restore a particular snapshot (Eg: 2017.01.18)
0 Comments