Difference between revisions of "Elasticsearch"
Jump to navigation
Jump to search
(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> | ||