elasticsearch -2.3.x head plugin installation (windows system)

1. Enter the command line: home key + R

Order:

> cd \elasticsearch root directory \bin\

> plugin  install  mobz/elasticsearch-head

2. run es

3.打开http://localhost:9200/_plugin/head/

 

Question 1: Online installation failed, as shown below:

 

Solution: At this time, we can install it manually

     1. Download the head plugin package https://github.com/mobz/elasticsearch-head
(kopf plugin package https://github.com/lmenezes/elasticsearch-kopf )

 

Download the zip and extract it to the folder my-plugin-1.2.1.zip (defined by yourself)

 

 

Run the installation command: plugin install file:/path/to/my-plugin-1.2.1.zip

4. run es

5.打开http://localhost:9200/_plugin/head/

Problem 2: The webpage opens a blank page

 

I encountered this problem. I deleted and installed the plug-in, tried various installations, changed browsers, IE, and chorm could not solve it. It was about to crash. .

Later, I changed the latest version of Firefox and solved it. It seems that it is mostly a browser problem.

 

 

After installing the head plugin, we can manage the elasticsearch interface:

Enter the IP address and port point of the es server in the address bar to connect to the cluster. Below is the connected view. This is the main interface, where you can see the basic information of the es cluster (such as node status, index status).

 

 

There are some buttons on the right side of the interface, such as: node stats, cluster nodes, these are APIs that directly request the relevant status of es, and the returned result is json, as shown in the following figure:

 

There are two buttons info and action below the index. info is to view the status of the index and the definition of the mapping. Action is the operation of the index, such as: adding an alias, refreshing, closing the index, deleting the index, etc.


The browser browsing interface, this interface can view the data of multiple indexes at the same time, and can also query the data of the specified field.

 

 

Structured Query interface, this interface can perform some complex queries on an index. For example, the following example is to query the product index, construct a boolquery, query the "product" keyword in the title field, and record records with a price range of 10 to 100.

 

 

Any Request is an arbitrary request interface. This interface can be said to be a rest client. It can be used to perform some request operations on es or test the api interface. The following example is to set the number of copies of the product index to 1, and more apis can be used. Go to es official website to inquire.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326239611&siteId=291194637