Hello,
I have been facing an issue with some watchers regarding role privileges due to which the watchers don't trigger and show error. But I have superuser privileges.
"result": {
"execution_time": "2024-06-13T07:39:04.586Z",
"execution_duration": 4,
"input": {
"type": "search",
"status": "failure",
"error": {
"root_cause": [
{
"type": "security_exception",
"reason": "action [indices:data/read/search] is unauthorized for user [ssogd@company_name.com] with effective roles [superuser], this action is granted by the index privileges [read,all]"
}
],
"type": "security_exception",
"reason": "action [indices:data/read/search] is unauthorized for user [ssogd@company_name.com] with effective roles [superuser], this action is granted by the index privileges [read,all]",
"caused_by": {
"type": "illegal_argument_exception",
"reason": "node [special-2] does not have the remote cluster client role enabled"
}
},
Also, please note that special-2 is a local elasticsearch node and not a remote node.
Kindly help me with this. Thanks.