Elasticsearch is easy to share with query plugins

In the past, the ES query tool I used often was Head, which was very convenient to run in the browser as a plug-in. Later, I found that Head was not easy to use. For example, when browsing data, I accidentally clicked on two indexes and set the background color is not obvious enough, and it is easier to misread the data.

So I want to find a better tool. I have used cerebro before and I think the interface is cool enough, but I think it is troublesome to run cerbro as an es plug-in. I want to find a convenient browser plug-in like head.

1 Elasticvue

This works as a browser plug-in, similar to head, with a dark interface, obviously more library points, as shown above:

3de978e771dcbc365fd9c81a1d4a4265.png

There is also a simple monitoring function, which the head does not have, as shown in the figure below:

adfc19adcd8c39aeb6efe9c4dffe8cd0.png

It is also very convenient to view shard information:

3ed64655d79df8955243ce7759f30c57.png

The index function is particularly rich, and you can see the index size, the number of fragments, and the number of documents.

b1b4db41f677ef787ba0ef5813cb8653.png

This is the overall operation of the index as shown below:

3c14ffb283bd41755cfa07fb7f04d323.png

Click to enter and you can easily enter the DSL syntax search, if you don’t know it, you can directly click to view the help document:

ac1c70ea8358f88b2aa7853c1ff1cc6a.png

Multiple indexes can be easily selected at the same time.

It is also convenient to view the map information of index mapping:

c7d844b6d7ba72d3110d783351099bad.png

If you still can't meet your needs, you can query through the REST interface, and we have carefully prepared a REST query example, as shown in the figure below:

60a08d4c542cc968f22a43e3927b4e97.png

It also supports new storage on the interface, as shown in the figure below:

8fea75e2495fdf91258f166e2dcce5eb.png

If you are a novice and want to simply test ES, you can easily create an empty index or even import Twitter data. I guess it will not work in China, as shown below:

50904868f7f2289b03835cb2ee3571cb.png

In practice, creating a new Twitter index and adding 100 pieces of data turned out to be a success.

256e40d1c49b13dd416c67bb18cdcd5d.png

e1448073e9f3ff05d32c69f5b8f7bc43.png

二 ES-Client

As a tool lover, one is obviously not enough, so I installed a similar tool, also in the form of a browser plug-in:

The interface defaults to white style. Obviously not as cool as the previous tool:

f7883106d369a69c1372cd1c559432e9.png

The functions are similar, including the basic management of the index, such as closing, deleting, refreshing and other routine operations of the index:

8e296d5f6e0334c14a878c05ccc5814d.png

Data browsing is like this, and it can support multiple display modes such as json and tables. The display format is better than the above.

fbd8f58d403d7632ac3e76f48460b77f.png

The basic query is more characteristic. It turns general fields and matches directly into selection boxes, which is a bit like a real system:

185bb097bf04f2a5d7bf70da2ae0e011.png

The advanced query is similar to the REST query of the above tool, which requires writing syntax to query data, which is helpful for those who want to learn syntax, but writing commands is always too slow, and the syntax cannot be remembered!

0022cd325e5c3e2181997e35983204ed.png

The following is the basic management, that is, the newly created link information management, etc.:

577bfcf8ceb97f193a81288f34ee8c20.png

Three summary

The two plug-in tools have their own characteristics. I still prefer the first tool. Fortunately, they are all plug-ins, and they don’t take up much resources when installed on the browser. That’s why children make choices, and adults need them all.

Guess you like

Origin blog.csdn.net/mseaspring/article/details/128168732