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**
**下载:jdk-11.0.2_linux-x64_bin.tar.gz** [https://www.oracle.com/java/technologies/javase/jdk11-archive-downloads.html][1] mkdir /usr/java tar -zxvf jdk-11.0.2_linux-x64_bin.tar.gz vim /etc/profile export JAVA_HOME=/usr/java
mysql> INSERT INTO user (username, password, level) VALUES ('admin', '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', '1'); //password must be **sha1** in the db !
**/lib/systemd/system/rc.local.service增加install字段** [Install] WantedBy=multi-user.target Alias=rc-local.service
V