wizecore / graylog2-output-syslog

Customizable, production ready syslog and ArcSight output plugin for Graylog
Apache License 2.0
37 stars 19 forks source link

The correct version is not displayed after updating the plugin. #59

Closed pagudo closed 3 hours ago

pagudo commented 2 weeks ago

Hi I have upgraded the plugin from version 4.2.6 to 6.0.0, but in the "Installed plugins" panel of the only node my environment has, it still shows version 4.2.6. To update the plugin I have replaced the graylog-output-syslog-4.2.6.jar file with graylog-output-syslog-6.0.0.jar in the "/usr/share/graylog-server/plugin/" folder.

This happens at least with Graylog Open versions 5.2.8 and 6.0.3.

Thanks

huksley commented 2 weeks ago

So, if you have two JARs with different versions, it pickups the older one? I am not sure it can be controlled on plugin level

pagudo commented 2 weeks ago

I'm sorry, but I think I didn't explain it well.

To update the plugin I deleted the file "graylog-output-syslog-4.2.6.jar" and copied the file "graylog-output-syslog-6.0.0.jar" in the folder "/usr/share/graylog-server/plugin/", so I only have the file "graylog-output-syslog-6.0.0.jar" in that folder.

huksley commented 2 weeks ago

Now i got It! I think I forgot to update the version in metadata here https://github.com/wizecore/graylog2-output-syslog/blob/master/src/main/java/com/wizecore/graylog2/plugin/SyslogOutputMetaData.java

Thank you for reporting! I will fix it later, functionally it should work ok, just the version displayed wrong

pagudo commented 2 weeks ago

Yes, the functionality seems to be correct. It's just a problem with displaying the correct version. Thanks to you for your quick support and solving the small problem...

huksley commented 3 hours ago

Should be fixed in latest release.