For listing all the indices from unix command line, type the following command.
For checking this from the browser, simply type the following URL in the browser
Where eshost is the hostname of the elasticsearch server. You can replace it with the IP address of the server also. 9200 is the default port used by elasticsearch
curl -X GET http://eshost:9200/_cat/indices
For checking this from the browser, simply type the following URL in the browser
http://eshost:9200/_cat/indices
Where eshost is the hostname of the elasticsearch server. You can replace it with the IP address of the server also. 9200 is the default port used by elasticsearch
No comments:
Post a Comment