monitor logs and publish changes over mqtt
A super simple tool for publishing changes in log files to mqtt.
tail -f | sed '/^\W*$/d' | mosquitto_pub -l -t <topic>
npm install -g mqtt-log-monitor
mqtt-log-monitor [-r] [-p port] [-h host] -f file -t topic
tail -f and has all the attendant requirements and quirks.