There can be several reason why a syslog-ng connection does not work.
This knowledge article contains the most common connection issues of syslog-ng Premium Edition (PE).
Client
syslog-ng[296]: Syslog connection broken; fd='11', server='AF_INET(10.10.10.10:601)', time_reopen='60'
Server
syslog-ng[553]: Invalid frame header; header='' *
syslog-ng[553]: Syslog connection closed; fd='36', client='AF_INET(10.10.10.20:37781)', local='AF_INET(10.10.10.10:601)'
The server expects IETF syslog format but the client sends the logs in different format, most probably in BSD syslog format.
Check the client's destination configuration if the correct IETF syslog format is set.
syslog-ng Premium Edition: Configuring IETF-syslog (RFC 5424) format in syslog-ng PE
syslog-ng Store Box: Configuring IETF-syslog (RFC 5424) format in SSB
If the client supports only BSD syslog format, change the source configuration on the server.
Note: If there are active clients sending IETF syslogs to the source, you may want to use a separated BSD syslog source for the client, instead of reconfiguring the current one.
syslog-ng Premium Edition: Configuring BSD-syslog (RFC 3164) format in syslog-ng PE
syslog-ng Store Box: Configuring BSD-syslog (RFC 3164) format in SSB
Client
syslog-ng[296]: Syslog connection broken; fd='13', server='AF_INET(192.168.1.100:514)', time_reopen='60'
Server
syslog-ng[553]: Incoming frame larger than log_msg_size(); log_msg_size='65536', frame_length='65559', client='192.168.1.1'
The client sends a log message that is greater than the maximum message size set on the server.
Modify the server's log message size option.
syslog-ng Premium Edition: Add log-msg-size(bytes) option to the global option{} section and set a bigger value than the 'frame_length' indicated in the error message, max. 256MB.
options {
log-msg-size(131072)
}
Syslog-ng Store Box: Set message size at Log | Options | Options | Message size.
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center