elasticsearch-head Running as a standalone webapp

Elasticsearch Head 是一款用于浏览和交互 Elasticsearch 集群的 Web 前端工具。它支持两种安装方式:作为 Elasticsearch 的插件运行或独立 Web 应用程序。Head 提供了集群概览、搜索接口以及 REST API 调试等功能。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

elasticsearch-head

What is this?

elasticsearch-head is a web front end for browsing and interacting with an Elastic Search cluster.

elasticsearch-head is hosted and can be downloaded or forked at github

contact me via github or on twitter @mobz

Installing and Running

There are two ways of running and installing elasticsearch-head

Running as a plugin of ElasticSearch (this is the preferred method)

  1. elasticsearch/bin/plugin -install mobz/elasticsearch-head
  2. open http://localhost:9200/_plugin/head/

Running as a standalone webapp

  1. git clone git://github.com/mobz/elasticsearch-head.git
  2. Open index.html in a browser. A modern browser is required to use es-head
  3. By default es-head will immediately attempt to connect to a cluster node at http://localhost:9200/.
    Enter a different node address in the connect box and click 'Connect' if required.

General Utility

es-head has a three major operations.

  • A ClusterOverview, which shows the topology of your cluster and allows you to perform index and node level operations
  • A couple of search interfaces that allow you to query the cluster a retrieve results in raw json or tabular format
  • Several quick access tabs that show the status of the cluster
  • An input section that allows arbitrary call to the RESTful API to be made. This interface includes several options that can be combined to produce interesting results;
    • Select request method (get, put, post, delete), json query data, node, and path
    • JSON validator
    • Ability to repeat requests on a timer
    • Ability to transform the result using javascript expressions
    • Ability to collect results over time (using timer), or compare results
    • Ability to chart the transformed results in a simple bar graph (including time series)
    * caution *, you can destroy and corrupt data from this interface if you are not careful

es-head will attempt to remember the node that it connects to using html5 features, however this only works over http(s).
If you would like to create a link to a particular cluster use the url form .../elasticsearch-head/index.html?base_uri=http://cluster.example.com:9200/

Screenshot time!

Screenshot of elasticsearch-head showing the cluster overview Screenshot of elasticsearch-head showing the structured queryScreenshot of elasticsearch-head showing the browserScreenshot of elasticsearch-head showing the node stats page

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值