Create alerts in Graylog

Hi,
It seems normal users can’t do that. Are any special permissions/roles etc needed ?

BR
Johan

Check for role permission through Rest API:

"permissions": [
    "notifications:read",
    "eventnotifications:create"
  ],

For example use this to create role with notification write, create file role-notification-read.json:

{
  "name": "Create notifications",
  "description": "Create notifications",
  "permissions": [
    "notifications:read",
    "eventnotifications:create"
  ],
  "read_only": "false"
}

curl -i -X POST -u admin:pass -H 'Content-Type: application/json' -H 'X-Requested-By: cli' 'http://172.28.128.4:9000/api/roles' -d @role-notification-read.json

And then assign role to user.

Thanks @shoothub
I’ll try this when i get an opportunity

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.