How to Create Roles in Graylog?
How to Create Roles in Graylog?
Solution:
In graylog server run following command to create a role. Change your password and IP as set in your server.
curl -v -XPOST -u admin:password -H 'Content-Type: application/json' 'http://192.168.1.15:12900/roles' -d '{"read_only": false,"permissions": ["searches:absolute", "searches:keyword", "searches:relative"],"name": "Global Search","description": "Permission to perform global search"}'
For More info about Graylog roles please follow this link.
No comments