Hi, does anyone have the sample role configuration for watcher roles with shield. I can not see anywhere in the elasticsearch documentation the roles to be added for watcher in roles.yml. Very less information is available.
I installed shield first and then watcher. Ideally even though I installed watcher later the shield should have created the default roles in roles.yml but it didn't add any role. I tried to add the role 'watcher_admin' in the roles.yml file then created the user '_watcher_user' and make it admin in esusers realm but still getting 401 error while executing a watch.
Role added in roles.yml:
./bin/shield/esusers useradd _watcher_user -p password -r watcher_admin