[syslog-ng]sync within tcp

matthew.copeland@honeywell.com matthew.copeland@honeywell.com
Fri, 23 Feb 2001 16:04:46 +0000 (UTC)


I am using the following for my config file.  I have been told that you
can sync a tcp connection to a certain number of lines, and I thought this
was how you do it, but it dies on the first line that has the sync with a
parse error.  If I move it to its own line, outside of the tcp, it dies
parsing there.  Can someone please tell me where I am messing up here?

Thanks, 
Matthew M. Copeland

options { 
        long_hostnames(off); 
        log_fifo_size(1440000);
};

source src { 
        unix-stream("/dev/log"); 
        internal(); 
};

destination normal_messages {
        tcp("129.235.66.4" port(999) sync(10));
};

destination immediate_messages {
        tcp("129.235.66.4" port(999) sync(0));
};
filter f_gs_alert {
         match("GS_ALERT"); 
};

log {   source (src);
        filter(f_gs_alert);
        destination(immediate_messages);
};

log {   source(src); 
        filter(DEFAULT);
        destination(normal_messages);
};






_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng