graylog-labs / graylog-plugin-slack

Graylog alarm callback for Slack
https://www.graylog.org
Apache License 2.0
117 stars 52 forks source link

"Output type is not supported" after upgrading to Graylog 4.3.2 #96

Open ngsandbox opened 2 years ago

ngsandbox commented 2 years ago

After upgrading docker image from Graylog 4.2.3 to 4.3.2 the Slack plugin 3.1.0 stopped to work and configuration is not available from Graylog UI.

image

Error from Graylog output:

com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: Output type is not supported: org.graylog2.plugins.slack.output.SlackMessageOutput
Caused by: java.lang.IllegalArgumentException: Output type is not supported: org.graylog2.plugins.slack.output.SlackMessageOutput

Docker setup:

FROM graylog/graylog:4.3.2

USER root

RUN apt-get update \
    && apt-get install -y wget

RUN wget -O /usr/share/graylog/plugin/graylog-plugin-slack-3.1.0 https://github.com/graylog-labs/graylog-plugin-slack/releases/download/3.1.0/graylog-plugin-slack-3.1.0.jar

COPY patterns/* /opt/

USER ${GRAYLOG_USER}