check-running.asciidoc 732 B

12345678910111213141516171819202122232425262728
  1. ==== Checking that Elasticsearch is running
  2. You can test that your Elasticsearch node is running by sending an HTTP
  3. request to port `9200` on `localhost`:
  4. [source,sh]
  5. --------------------------------------------
  6. curl localhost:9200
  7. --------------------------------------------
  8. which should give you a response something like this:
  9. [source,js]
  10. --------------------------------------------
  11. {
  12. "name" : "Harry Leland",
  13. "cluster_name" : "elasticsearch",
  14. "version" : {
  15. "number" : "5.0.0-alpha1",
  16. "build_hash" : "f27399d",
  17. "build_date" : "2016-03-30T09:51:41.449Z",
  18. "build_snapshot" : false,
  19. "lucene_version" : "6.0.0"
  20. },
  21. "tagline" : "You Know, for Search"
  22. }
  23. --------------------------------------------