When asking questions, please provide the following information:
-
Search Guard and Elasticsearch version
-
Installed and used enterprise modules, if any
-
JVM version and operating system version
-
Search Guard configuration files
-
Elasticsearch log messages on debug level
-
Other installed Elasticsearch or Kibana plugins, if any
Hi,
I have installed searchguard and it is working properly. But whenever If there is any change in config file I have to run sgadmin command, It is removing all my roles and users created.
Is there any way to restrict removal of users and roles we created after running sgadmin command.
Thanks
Ajit
You can use sgadmin to only update a single configuration, yes. You need to use the -t (type) and -f (file) switches as described here:
See also the examples in the docs:
ยทยทยท
On Monday, February 12, 2018 at 1:16:44 PM UTC+1, Ajit Bhosale wrote:
When asking questions, please provide the following information:
- Search Guard and Elasticsearch version
- Installed and used enterprise modules, if any
- JVM version and operating system version
- Search Guard configuration files
- Elasticsearch log messages on debug level
- Other installed Elasticsearch or Kibana plugins, if any
Hi,
I have installed searchguard and it is working properly. But whenever If there is any change in config file I have to run sgadmin command, It is removing all my roles and users created.
Is there any way to restrict removal of users and roles we created after running sgadmin command.
Thanks
Ajit