[syslog-ng]Trying to send log over network
Balazs Scheidler
bazsi@balabit.hu
Wed, 14 Feb 2001 11:06:51 +0100
> > I am trying to send logs over our network but am having trouble with the
> > rules. I have set up a host to accept the logs and I am trying to set
> > up the sender. This is the destination rule so far.
> >
> > destination d_bg { tcp(ip(192.168.1.19) port(514)); };
> >
> > When I try to start syslog-ng it gives me this error.
>
> I came across this also, this statement works (maybe someone should
> finally update the docs?):
>
> destination loggingserver { tcp("1.2.3.4" port(514)); };
Destination and sources differ in their syntax. A destination TCP driver
uses a positional 'destination host' argument, a source doesn't.
--
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1