Just a word of caution: elasticsearch allows everyone access to the indexed data, by default. If you're doing this on a world-reachable machine with sensitive data, you should probably lock it down or make sure it's locked down.
There are a number of authentication solutions, and they will require additional configuration -plugins like jetty and elasticsearch-http-basic.
There are a number of authentication solutions, and they will require additional configuration -plugins like jetty and elasticsearch-http-basic.