Closed
Description
Describe the bug
How should writing to a unix socket be configured ?
I'm running syslog-ng listening to a unix file socket.
I put in go-dnscollector config
- name: localsyslog
syslog:
transport: unix
remote-address: "/var/tmp/dnstap.sock"
I'm currently getting this error :
INFO: 2024/02/02 17:27:01.125579 [localsyslog] logger=syslog - connecting to unix:///var/tmp/dnstap.sock ...
ERROR: 2024/02/02 17:27:01.125748 [localsyslog] logger=syslog - dial unix /var/tmp/dnstap.sock: connect: protocol wrong type for socket
To Reproduce
Steps to reproduce the behavior
Expected behavior
Writing syslog to a unix socket work cleanly
Additional context
- Latest version
- Add any other context about the problem here.