elasticsearch-head插件安装说明

下载及安装readme

https://github.com/mobz/elasticsearch-head

 

安装:

npm install

npm run start

访问:http://localhost:9100/

 

安装报错:

npm ERR! Error: CERT_NOT_YET_VALID npm ERR! at SecurePair.<anonymous> (tls.js:1370:32)

执行:npm config set strict-ssl false

解决跨域问题:

修改vim /apps/svr/elasticsearch-6.0.1/config/elasticsearch.yml 添加以下两句:

http.cors.enabled: true

http.cors.allow-origin: "*"

 

运维API:
1. 集群状态:http://host:9200/_cluster/health?pretty
2. 节点状态:http://host:9200/_nodes/process?pretty
3. 分片状态:http://host:9200/_cat/shards
4. 索引分片存储信息:http://host:9200/index/_shard_stores?pretty
5. 索引状态:http://host:9200/index/_stats?pretty
6. 索引元数据:http://host:9200/index?pretty

转载于:https://www.cnblogs.com/ThinkVenus/p/9679046.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值