Using these commands for ages. With 6.2.0 things go wrong. Any ideas? Thanks!
bofh@test:/$ curl -XGET localhost:9200/_cat/shards?h=index,shard,prirep,state,unassigned.reason| grep UNASSIGNED
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1349 100 1349 0 0 59979 0 --:--:-- --:--:-- --:--:-- 67450
.watcher-history-7-2018.02.08 0 r UNASSIGNED INDEX_CREATED
.watcher-history-7-2018.02.07 0 r UNASSIGNED INDEX_CREATED
bofh@test:/$ curl -H'Content-Type: application/json' -XPUT 'localhost:9200/_settings' -d '{"index": {"number_of_replicas":0 }}'; echo ""
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"unknown setting [archived.index.xpack.watcher.template.version] did you mean [index.xpack.watcher.template.version]?"}],"type":"illegal_argument_exception","reason":"unknown setting [archived.index.xpack.watcher.template.version] did you mean [index.xpack.watcher.template.version]?"},"status":400}
bofh@test:/$