-
-
Notifications
You must be signed in to change notification settings - Fork 10
[BUG] Error parsing config when using MQTT #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
It doesn't look like Alpine currently package the syslog-ng-mqtt module https://pkgs.alpinelinux.org/packages?name=syslog-ng*&branch=v3.20&repo=&arch=x86_64, you'd have to open an issue on their Gitlab and request it be added for us to be able to include it in the image. |
Thanks @thespad, I had assumed MQTT would work since it's included in the docker file. I'll open a request over on Alpine's Gitlab instead. |
It was included as a pre-req, but I hadn't really clocked that the mqtt module wasn't there, making it a bit redundant. |
I've posted on the Alpine Gitlab requesting the MQTT package for syslog-ng. Fingers crossed it gets implemented. |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
Still failing, cannot use MQTT functionality. |
@thespad do you have any suggestions on how to get the issue over in Alpine's Gitlab to move forward? It's been open for ~9 months now. I've done some of the initial research into the issue, but I've reached the point where I can't do anything else until someone that knows what they're doing can take a look. |
Is there an existing issue for this?
Current Behavior
Attempting to set up an MQTT destination results in an error parsing config. I originally thought it was related to this issue, but I was able to eliminate the
cloud_auth
error by rolling back to version4.1.1-r2-ls99
with no change to the MQTT error.This is a new setup of syslog-ng, and I'm using the official documentation to set up a very basic log source & destination.
Expected Behavior
syslog-ng should start without an error parsing, and should log to an MQTT destination.
Steps To Reproduce
Set up syslog-ng with a basic configuration, and attempt to add an MQTT destination. Syslog-ng will then fail to start and will log a parsing error.
Environment
Container logs
Logs from `docker logs syslog-ng`: [migrations] started [migrations] no migrations found usermod: no changes ─────────────────────────────────────── ██╗ ███████╗██╗ ██████╗ ██║ ██╔════╝██║██╔═══██╗ ██║ ███████╗██║██║ ██║ ██║ ╚════██║██║██║ ██║ ███████╗███████║██║╚██████╔╝ ╚══════╝╚══════╝╚═╝ ╚═════╝ Brought to you by linuxserver.io ─────────────────────────────────────── To support LSIO projects visit: https://www.linuxserver.io/donate/ ─────────────────────────────────────── GID/UID ─────────────────────────────────────── User UID: 1000 User GID: 1000 ─────────────────────────────────────── [custom-init] No custom files found, skipping... [ls.io-init] done.
Logs from syslog-ng itself (config/log/current):
The text was updated successfully, but these errors were encountered: