Hi All,
I installed the shield plugin few days back and currently I am evaluating it, is there a way to completely disable the plugin instead of removing it?
Thanks,
Hi All,
I installed the shield plugin few days back and currently I am evaluating it, is there a way to completely disable the plugin instead of removing it?
Thanks,
you can configure the following in the elasticsearch.yml file:
shield.enabled: false
This will prevent the plugin from loading.
this does not work with elasticsearch 2.3.1, i get
Exception in thread "main" SettingsException[Failed to load settings from [elasticsearch.yml]]; nested: ScannerException[while scanning a simple key
in 'reader', line 39, column 1:
shield.enabled:false
^
could not find expected ':'
in 'reader', line 40, column 1:
shield:
^
];
Likely root cause: while scanning a simple key
in 'reader', line 39, column 1:
shield.enabled:false
^
could not find expected ':'
in 'reader', line 40, column 1:
shield:
^
I think (unsure though) that you are missing a space after the comma: shield.enabled: false
.
Is there a way to disable shield using API?
Just wanted to check if is there a way to disable shield using API?
I hope not!
to remove shield
[root@XXXX elasticsearch]# bin/plugin remove shield
-> Removing shield...
Removed shield
Is this plugin remove command safe to execute on a cluster where things are up and running ?
Is there a REST API to disable and remove the plugin ?
Also can please let me know how where this command needs to be executed. we have a setup with elkclient node, elk master nodes and elk data nodes. elk client node is the REST front end and should it be run here ?
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.