ElasticSearch 查询 语法
1.查询集群的基本运行状况-health curl -XGET 'localhost:9200/_cat/health?v&pretty' 2.集群的节点信息 curl -XGET 'localhost:9200/_cat/nodes?v&pretty' 3.集群 中的索引信息 curl -XGET 'localhost:9200/_cat/indices?v&pretty' 4.根据id查询所需数据
网事随记
1.查询集群的基本运行状况-health curl -XGET 'localhost:9200/_cat/health?v&pretty' 2.集群的节点信息 curl -XGET 'localhost:9200/_cat/nodes?v&pretty' 3.集群 中的索引信息 curl -XGET 'localhost:9200/_cat/indices?v&pretty' 4.根据id查询所需数据
**[ERROR][o.e.b.Bootstrap] [localhost] node validation exception [1] bootstrap checks failed [1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured**
V