Is there a way to bypass permission prompt when installing elasticsearch plugin?


(Lin Zhao) #1

I'm automating deployment of elasticsearch and a plugin we developed in house. The plugin requires additional permissions and elasticsearch-plugin command would prompt for confirmation. This makes automatic deployment difficult. I digged around a bit and there's a "--batch" option for Elasticsearch Watcher (https://www.elastic.co/guide/en/watcher/current/getting-started.html) but doesn't seem to be one for elasticsearch. Is there a way to achieve this with elasticsearch 5.0?


(Nik Everett) #2

elasticsearch-plugin install <url/name/whatever> --batch should work.


(system) #3