This is a plugin for Logstash.
This plugin has been published to rubygems.org as logstash-output-mqtt gem.
In Logstash home directory: bin/logstash-plugin install logstash-output-mqtt
Ubuntu:
sudo /opt/logstash/bin/plugin install logstash-output-mqtt
See mqtt.rb file for plugin usage.
It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.
The plugin has been developed according to How to write a Logstash output plugin tutorial. Read it before contributing to this project.
To build and test, run build.sh in Linux environment which has Docker installed.
To install the built plugin locally in the development environment:
sudo /opt/logstash/bin/plugin install logstash-output-mqtt-*.gem