msi-windows-start.asciidoc 953 B

1234567891011121314151617181920
  1. ==== Running Elasticsearch from the command line
  2. Once installed, Elasticsearch can be started from the command line, if not installed as a service
  3. and configured to start when installation completes, as follows:
  4. ["source","sh",subs="attributes,callouts"]
  5. --------------------------------------------
  6. .\bin\elasticsearch.exe
  7. --------------------------------------------
  8. The command line terminal will display output similar to the following:
  9. image::images/msi_installer/elasticsearch_exe.png[]
  10. By default {es} prints its logs to `STDOUT` and to the `<cluster name>.log`
  11. file within `LOGSDIRECTORY`. {es} logs some information while it is starting
  12. up, but once it has finished initializing it will continue to run in the
  13. foreground and won't log anything further until something happens that is worth
  14. recording. While {es} is running you can interact with it through its HTTP
  15. interface which is on port 9200 by default. To stop {es}, press `Ctrl-C`.