修改索引的默认副本数

    1. curl -XPUT 'http://10.27.12.16:9200/_template/template_http_request_record' -H 'Content-Type: application/json' -d '{"index_patterns": ["record_*"],"settings": {"number_of_shards": 1,"number_of_replicas": 0}}'

    查看索引

     curl --user elastic:elastic 127.0.0.1:9200/_cat/indices?v
    

    查看节点情况

    curl --user elastic:elastic '127.0.0.1:9200/_cat/nodes?v'
    

    查看健康度

    curl --user elastic:elastic '35.194.130.34:9200/_cluster/health?pretty'