Hi there,
this is no question, this is a solution for all who cant use the SBS-License in future.
unfortunatly our SBS Licence will expire in december and our higher ups are not willing to pay for this. so we need to move all function we use from sbs to free-version.
One of the things we use is the local callback-script from alerts.
in the past i created an argument-parser which was called via local script-callback in alerts.
( Use Values from messages in alert )
now i created a small nodejs-runner, which runs on the graylog-host and accepts http-calls with a valid API-Key. This runner only works as interpreter (like the argument-parser) and calls the already existing .sh-scripts to to various things.
Here is the github:
Then you can use all the .sh-script you already created, include them in this script (to get the corresponding fields and call the correct .sh with the parsed parameters)
feel free to clone the repo, test it, edit it as you need and if there are big bugs in there, please inform me or create github issue ![]()
PS. if this is created in the wrong cummunity-section, please move it to the correct one
- thanks
best regards,
Coffee_is_life