Read permission for individual source


(Govind Mantri) #1

Hi

I was wondering if we can make a individual input’s message read-only for users, for eg. I have 5 input sources

  • Nginx
  • Rails
  • Java etc. etc.

I want to give access for Rails source to a set of users at same time I don’t want them to see logs from other sources.
I use used Role API and created “source:read” role but it allows user to read all the sources.
Any idea how we can achieve it for specific source.

TIA


(Jan Doberstein) #2

That is what streams are made for.

http://docs.graylog.org/en/2.4/pages/streams.html

Create a Stream for each usergroup and route the data that should be visible to them into this streams.


(Govind Mantri) #3

Thanks Jan… it worked :slight_smile:


(system) #4

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