Elasticsearch 安装可视化Head插件

Posted niugang0920

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Elasticsearch 安装可视化Head插件相关的知识,希望对你有一定的参考价值。

2.3版本

安装Head插件
E:softelasticsearch-2.3.2in>plugin install mobz/elasticsearch-head
-> Installing mobz/elasticsearch-head...
Trying https://github.com/mobz/elasticsearch-head/archive/master.zip ...
ERROR: failed to download out of all possible locations..., use --verbose to get
 detailed information

E:softelasticsearch-2.3.2in>plugin install mobz/elasticsearch-head
-> Installing mobz/elasticsearch-head...
Trying https://github.com/mobz/elasticsearch-head/archive/master.zip ...
Downloading ....................................................................
....................................终止批处理操作吗(Y/N)? y

E:softelasticsearch-2.3.2in>plugin install mobz/elasticsearch-head
-> Installing mobz/elasticsearch-head...
Trying https://github.com/mobz/elasticsearch-head/archive/master.zip ...
Downloading ....................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................DONE
Verifying https://github.com/mobz/elasticsearch-head/archive/master.zip checksum
s if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .
md5 file to verify)
Installed head into E:softelasticsearch-2.3.2pluginshead

以上完成启动es.

访问http://localhost:9200/_plugin/head/

技术图片技术图片?

5.x安装

elasticsearch-plugin install x-pack

6.x安装  需要node.js环境

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

Running with built in server

  • git clone git://github.com/mobz/elasticsearch-head.git
  • cd elasticsearch-head
  • npm install
  • npm run start

连接elasticsearch 需要在elasticsearch.yml配置如下[必须配置]

http.cors.enabled: true
http.cors.allow-origin: "*"
技术图片

技术图片技术图片?

x-pack身份认证  username为elastic  password为changeme

技术图片技术图片?

技术图片技术图片?

   

                                                                               微信公众号: 

                                               技术图片技术图片?

                                                                             JAVA程序猿成长之路

                          分享资源,记录程序猿成长点滴。专注于Java,Spring,SpringBoot,SpringCloud,分布式,微服务。

以上是关于Elasticsearch 安装可视化Head插件的主要内容,如果未能解决你的问题,请参考以下文章

windows安装ElasticSearch的Head可视化插件简单使用并解决不能连接ElasticSearch服务跨域问题

Elasticsearch+head插件+kibana安装

DAY 110 安装ElasticSearch插件

ElasticSearch实战(二十七)-可视化集群管理(head插件)

ElasticSearch实战(二十七)-可视化集群管理(head插件)

和小白一起学elkCH1:elasticsearch8.4.1及其插件head和kibana的安装