[syslog-ng]log to database and storage (urgent)

Nate Campi syslog-ng@lists.balabit.hu
Wed, 17 Nov 2004 08:26:55 -0800


On Wed, Nov 17, 2004 at 04:31:02PM +0100, Jeremy Doe wrote:
> 
> # Globale Optionen
> options { 
>         use_fqdn(no); 
>         use_dns(no); 
>         dns_cache(no); 
>         keep_hostname(yes); 
>         create_dirs(yes);
>         long_hostnames(off); 
>         sync(1); 
>         log_fifo_size(1024); 
> };
> # Quellen/Sources
> source src { 
>         pipe("/proc/kmsg"); 
>         unix-stream("/dev/log"); 
>         internal(); 
> # auf UDP 514 listening
>         udp();
> };
> source network { 
>         udp();
> };

I don't think you can put the UDP source twice, syslog-ng will try to
bind to the port twice. You'll need to do it with the udp line removed
from the "src" source and put both sources in your log line for mysql,
or something like that.

Make sense?
-- 
Nate

Linux is like an indian's tent: 
No gates, no windows, and apache inside.