[syslog-ng] problem with server
Rory Toma
rory at ooma.com
Thu Jan 21 21:03:38 CET 2010
I am using syslog-ng-3.0.4-1.rhel on a CentOS-5.4 system. I am using
tls, and have a setup as below. Here is what happens. It logs fine.
However, if I reboot my client that is sending logs, it no longer works
until I restart the syslog-ng server. What do I need to do here?
@version: 3.0
options { flush_lines (3);
time_reopen (10);
log_fifo_size (1000);
long_hostnames (off);
use_dns (no);
use_fqdn (no);
create_dirs (yes); dir_perm (0755);
keep_hostname (yes);
ts_format("iso");
};
source telo {
tcp( port(80)
tls( key_file("/export/tls/key.pem")
cert_file("/export/tls/cert.pem")
peer_verify(optional-untrusted)) ); };
# Myx destinations
destination myx_dest_0000 {
file("/logs/myx_008161000/$R_YEAR$R_MONTH$R_DAY/$HOS
T-$R_YEAR$R_MONTH$R_DAY.log" owner(root) group(root) perm(0644)
template("$YEAR-
$MONTH-$DAY $HOUR:$MIN:$SEC $MSG\n") template_escape(no)); };
filter myx_filter_0000 { host("myx_001861000[0-9A-F]\{3\}$"); };
log { source(telo); filter(myx_filter_0000); destination(myx_dest_0000); };
More information about the syslog-ng
mailing list