ElasticSearch debugging tool kibana

 

Postman has a wide range of applications, as long as the network interface can be debugged,

But because of the wide range of debuggable interfaces, it does not know which interfaces you want to debug, there is no corresponding code hint, it is easy to write errors, and it is very inconvenient.

 

Kibana is a debugging tool developed by elastic. It is dedicated to ES debugging and has corresponding code prompts. It is very convenient. It is often used in development and joint debugging.

 

 

download

https://www.elastic.co/cn/kibana

I am debugging on windows, download windows version.

 

 

use

Cut the compressed package to a directory and decompress it.

 

The kibana configuration file is config / kibana.yml, the default port number is 5601, which can be configured as needed

 

The default ES node is localhost: 9200, modify as needed

Array, cluster node.

 

 

启动 kibana: Twin smoking bin / kibana.bat

After startup, enter localhost: 5601 in the browser address bar to enter the kinana debugging interface.

Close kibana: X closes the windows running kibana, you can close kibana.

 

 

 

debugging

 

Click the wrench icon on the left to enter Dev Tools and write the code in the Console. The address does not need to be written in the http://192.168.1.9:9200/ part. The ES cluster node configured in yml will be used automatically.

Click the triangle icon to run.

Click the wrench icon in the Console area => Copy as cURL to copy the corresponding curl command.

 

Can be realized by multiple tabs of the browser, Postman's multi-tab function.

 

You can view the analysis of this search in Search Profiler, which takes time and performance.

 

Guess you like

Origin www.cnblogs.com/chy18883701161/p/12724417.html