Get elasticsearch schema using command line tool

I am trying to speed up the implementation of an elasticsearch project in a project. How can I see the data in the cluster? Is there a command line tool that gives me schema information?

+6
source share
2 answers

To get the circuit:

curl -XGET 'http://loadtest-appserver1:9200/myIndex/_mapping' 

See Elasticsearch Api Doc

+12
source

Try using ElasticSearch Head

http://mobz.imtqy.com/elasticsearch-head/

This is a great tool when you look at your index and metadata (like a chart) to see what happens.

It is also based on HTML5 / REST, so you can look in your browser for the commands it sends to your cluster and use them with the CURL command line if necessary.

0
source

Source: https://habr.com/ru/post/952060/


All Articles