General Plugin configuration through "System > Configuration"


(Blerim) #1

Hi everyone,

we’re currently developing a new plugin for Graylog which adds several outputs to connect Graylog to Icinga.
To cleanup the configuration box for each output we want to allow some general configuration (endpoint, user, password, …) through “System > Configuration”.

Even though we tried hard to imitate the AWS plugin, we are not able to display anything on that page. Can somebody get us on track or give a hint about what could be missing?

Project: https://github.com/Icinga/graylog-plugin-icinga/tree/feature/centralize-connection-settings-1

Thank you very much in advance!


(bernd) #2

Building the plugin with the latest Graylog 2.4.3 release works for me.

--- pom.xml
+++ pom.xml
@@ -34,7 +34,7 @@
         <!-- Plugins will not be deployed by default - set to `false` if you actually want to deploy it -->
         <maven.deploy.skip>true</maven.deploy.skip>
 
-        <graylog.version>2.2.0</graylog.version>
+        <graylog.version>2.4.3</graylog.version>
         <graylog.plugin-dir>/usr/share/graylog-server/plugin</graylog.plugin-dir>
     </properties>
 

The UI elements for the settings are showing up on the “System/Configurations” page:


(Blerim) #3

@bernd Thank you for your help, it’s much appreciated!

Updating the version number indeed worked for us, thanks again.


(system) #4

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