Syslog-Output plugin building fails

1. Describe your incident:

I wanted to upgrade form 5.2.4 ti 6.0 but it failed. Reason was no syslog-output plugin. In 6.0 there is no longer provided syslog-output plugin.
So I found plugin on github, but have problems building it.

2. Describe your environment:

  • OS Information: Oracle Linux 8.7

  • Package Version: graylog RPM package 6.x

  • Service logs, configurations, and environment variables:

3. What steps have you already taken to try and solve the problem?

Downloaded from github plugin, it says it supports 6.0:
GitHub - wizecore/graylog2-output-syslog: Customizable, production ready syslog and ArcSight output plugin for Graylog

created maven envirnment on linux
downloaded jdk 17

But I have several problems when building that with command $ mvn package, latest error is :

T E S T S
Running com.wizecore.graylog2.plugin.test.TestFullSender
Tests run: 2, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 0.107 sec <<< FAILURE!
testMessageTruncation(com.wizecore.graylog2.plugin.test.TestFullSender) Time elapsed: 0.073 sec <<< ERROR!
java.lang.NoClassDefFoundError: com/swrve/ratelimitedlogger/RateLimitedLog
at org.graylog2.plugin.utilities.ratelimitedlog.RateLimitedLogFactory.createRateLimitedLog(RateLimitedLogFactory.java:31)
at org.graylog2.plugin.Message.(Message.java:89)´

4. How can the community help?

Anybody solved similar problems when building plugin with maven ?

Helpful Posting Tips: Tips for Posting Questions that Get Answers [Hold down CTRL and link on link to open tips documents in a separate tab]

1 Like

You can download the jar file fron Github on the release page:

sc6 :slight_smile: -)

2 Likes

Hi, this was fixed in the latest version of plugin v6.0.4, you can build it yourself without a problem.

I don’t monitor this forum often, so better to open issue on GitHub if you have any problem with the plugin, thank you for using it!

1 Like