Plugin: biz.dfch.j.graylog2.plugin.filter.execscript
d-fens GmbH, General-Guisan-Strasse 6, CH-6300 Zug, Switzerland
This Graylog Filter Plugin lets you run arbitrary scripts on a Graylog node.
See Creating a Graylog2 Filter Plugin for further description and examples on how to create plugins.
You can download the binary at our drone.io account, which gets built every time we commit something to the master branch of the repository.
The plugin now works with Graylog version 1.
This project is using Maven and requires Java 7 or higher.
- Clone this repository.
- Run
mvn package
to build a JAR file. - Optional: Run
mvn jdeb:jdeb
andmvn rpm:rpm
to create a DEB and RPM package respectively. - Copy generated jar file in target directory to your Graylog2 server plugin directory (
/opt/graylog2/plugin
if you are using the Docker image). - Restart the Graylog2 server.
-
biz.dfch.j.graylog2.plugin.alarm.execscript
This is an AlarmCallback plugin that does essentially the same as the output plugin, but lets you run scripts based on alarm conditions (similar to graylog2-plugin-alarmcallback-exec)
-
biz.dfch.j.graylog2.plugin.output.execscript
This is a Output plugin that can forward every message based on a stream rule.