This program reads the log file and sends each entry to a mqtt broker.
Run cli with args
- -f : Path of the log file
- -u : Broker MQTT Url
- -t : MQTT topic target
logs-publisher -u tcp://127.0.0.1:1883 -f "/Users/me/MyLogFile.log" -t mytopic/logs
- Retrieve args
- Connect to MQTT
- Read log file
- Send log to MQTT
- Log filtering