We are automating the creation of grok patterns using Graylog API. I could not find any single permission to allow the creation of grok patterns. Is there some more granular way to allow it than adding an admin permissions to the API user ?
as for now a user needs the permission to create a input (
inputs:create) to create a grok pattern.
So to answer your question no, there is no way to give a user a permission to create grok patterns.
To create a role with
inputs:create have a look here: https://docs.graylog.org/en/3.1/pages/users_and_roles/permission_system.html?highlight=permission#rest-call-permissions
In the future we might add more fine granular permissions for grok patterns.
If you have any more questions don’t hesitate to ask.
Thanks for the quick answer. I added the “inputs:create” permission and creation of grok patterns is working now.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.