Can we enable or disable graylog plugins? For example, I have slack plugin installed on graylog server that accepts streams alerts and notifies us. What if I don’t want to send streams alerts notifications to slack for the particular period of time. Do we have anything to schedule this.
Do we have any APIs to do this, Please let me know.
Graylog version - 2.4.6
Elasticsearch Version - 5.6
Plugins are enabled if they are in the Plugin folder and available on Graylog start - if you want to disable a plugin, move that out of the plugin folder and restart Graylog.
After moving plugin from Plugin folder to any other folder and restarted graylog but I still getting the alert on slack @jan
Also I visited /usr/share/graylog-server/plugin to verify slack plugin is available or not but slack plugin was not there.
I do not know - Did you checked if the plugin is really removed (check the UI in System / Configuration ) and check the log messages from/after the start-up of Graylog. All used plugins are displayed in the log on start.
@jan Can I need to do the same for all Gl Nodes.
In my Environment We have one Interface node and 7 Gl data nodes. I have only moved the plugin from web-interface node not from gl data nodes.
I was going to ask if you are running a cluster, which would explain why it continued.
As far as I know data nodes don’t run Graylog server and hence no plugins are run on data nodes.
However if you have more than one server in a cluster configuration then you need to do the same for every server.