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
in_syslog with haproxy and nginx #292
Labels
Comments
research: Fluent Bit is using SOCK_STREAM sockets while Nginx and HAProxy SOCK_DGRAM. |
In GIT master there are recent changes to address this problem on in_syslog
In the next days normal TCP mode will be implemented. |
git001
referenced
this issue
Jun 15, 2017
This patch implements the following changes: - New 'mode' option, can take the following values: - unix_udp (default) - unix_tcp - Unix socket can listen on UDP or TCP modes Signed-off-by: Eduardo Silva <eduardo@treasure-data.com>
After latest patches the following modes are available in in_syslog:
About parsers:
additional parser syslog-3164 exists which also does hostname capture |
Fixed. |
rawahars
pushed a commit
to rawahars/fluent-bit
that referenced
this issue
Oct 24, 2022
Co-authored-by: Akshay Dubey - a0d00qf <Akshay.Dubey@walmartlabs.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have tried the following command.
Now I have started and stopped haproxy and afterwords started and stopped nginx.
Both servers have complained about syslog protocol.
I have looked into the source of rsyslog and they inizialize the socket differnt
rsyslog
https://github.com/rsyslog/rsyslog/blob/master/plugins/imuxsock/imuxsock.c#L486
https://github.com/rsyslog/rsyslog/blob/master/plugins/imuxsock/imuxsock.c#L502
fluent-bit
https://github.com/fluent/fluent-bit/blob/master/plugins/in_syslog/syslog_unix.c#L41
https://github.com/fluent/fluent-bit/blob/master/src/flb_network.c#L178
Due to this fact I assume that in fluent-bit the socket need to be opened in a different way as it is for today
The text was updated successfully, but these errors were encountered: