Releases: dfch/biz.dfch.j.graylog2.plugin.output.execscript
Release list
1.0.0
This Graylog Output Plugin lets you run arbitrary scripts on a Graylog node.
To use this plugin, copy the JAR into the Graylog plugin directory (which is defined in Graylog.conf) and restart the Graylog node and make sure you deploy the plugin to every Graylog node in your environment.
You can then create scripts in any JSR.223 supported script engine (by default support for javascript, Python as JPython (v2.7-rc2) and Groovy (2.4.3) is installed). When configuring the plugin, you have to specify the full path to a script file that should be executed (and the name of the engine (i.e. javascript, python and groovy).
Every time the specified script is executed it will be passed the message of type org.graylog2.plugin.Message as a variable into the script scope from where you can process it according to your needs.