I am trying to apply a configuration and collector to a sidecar using the REST API. I’m using the api-browser to do it for now just to learn the api.
I am making the following request. However, I am not sure what the “action” string is. When doing from the web, I can see the “apply” and “remove” actions.
Is this the correct way of adding configuration_id and collector_id using the REST API?
I tried searching around but could not find any info. I’ve also looked that the public class AdministrationResource source but no indication of what are the allowed actions.
I am using Graylog 3.0.