Elasticsearch: Difference between revisions

From Freephile Wiki
No edit summary
adds example curl commands
Line 43: Line 43:
Maybe you installed elasticsearch, but have no idea where it resides on your system.  Try this:
Maybe you installed elasticsearch, but have no idea where it resides on your system.  Try this:
<source lang="bash">
<source lang="bash">
curl "localhost:9200/_nodes/settings?pretty=true"
curl -XGET "http://localhost:9200/_nodes/settings?pretty=true"
</source>
Other direct commands
<source lang="bash">
curl 'localhost:9200/_tasks?pretty'
curl 'localhost:9200/_cat/nodes?pretty'
curl 'localhost:9200/_nodes?pretty'
curl 'localhost:9200/_nodes/settings?pretty=true'
curl 'localhost:9200/_cat/health?pretty'
curl 'localhost:9200/_cluster/health?pretty=true'
curl 'localhost:9200/_cluster/state?pretty'
</source>
</source>



Revision as of 18:29, 12 December 2017