接口:
:9200/
集群:
:9100/ #五角星代表主节点,圆点代表数据节点
查看主master是谁:
:9200/_cat/master
更多URL信息
:9200/_cat
最后在介绍下5.x安装插件的方法,这儿我们举例安装!
我们将安装geoip的插件(可以解析外网地址显示在地图上)
cd /opt/elasticsearch5/bin
[root@es1 bin]# ./elasticsearch-plugin install --help #我们看到了所支持的插件
Install a plugin
The following official plugins may be installed by name:
analysis-icu
analysis-kuromoji
analysis-phonetic
analysis-smartcn
analysis-stempel
discovery-azure-classic
discovery-ec2
discovery-file
discovery-gce
ingest-attachment
ingest-geoip
ingest-user-agent
lang-javascript
lang-Python
mapper-attachments
mapper-murmur3
mapper-size
repository-azure
repository-gcs
repository-hdfs
repository-s3
store-smb
x-pack
Non-option arguments:
安装插件:
[root@es1 bin]# ./elasticsearch-plugin install ingest-geoip
-> Downloading ingest-geoip from elastic
[=================================================] 100%
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: plugin requires additional permissions @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission accessDeclaredMembers
See Oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.
Continue with installation? [y/N]y
-> Installed ingest-geoip
验证:
cd /opt/elasticsearch5/plugins [root@es1 plugins]# ls ingest-geoip #会看到刚刚安装的插件,需要重启es集群配置生效
ElasticSearch集群到此就完成了!