Permission for creating grok patterns

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 ?

Hi @tuomas,

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:

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.

1 Like

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