[syslog-ng] forwarding to server

Chris Harner chris.harner at gmail.com
Tue Aug 28 15:19:51 CEST 2007


Well that makes sense!  Well, I added your code onto the bottom of
syslog-ng.conf.in since I couldn't find a commented out line already in the
config.  Are there docs on referring statements to log statements like the
one you gave me?  I'm not exactly sure how to go about that.  Thanks Sandor.

On 8/28/07, Geller, Sandor (IT) <Sandor.Geller at morganstanley.com> wrote:
>
> Hello,
>
> > Here is the section of the conf file I think you are referring to:
> > #source my_src { .... };
> > #
> > source src {
> >     #
> >     # include internal syslog-ng messages
> >     # note: the internal() soure is required!
> >     #
> >     internal();
> >
> >     #
> >     # the following line will be replaced by the
> >     # socket list generated by SuSEconfig using
> >     # variables from /etc/sysconfig/syslog:
> >     #
> >     unix-dgram("/dev/log");
> >
> >     #
> >     # uncomment to process log messages from network:
> >     #
> >     udp(ip("192.168.x.x") port(514));
> > };
>
> This is the source, not the destination declaration. You can
> use only IP addresses bound to the box itself, not remote ones.
>
> What you want to achieve is defining a remote destination like:
>
> destination d_remotehost {
>         udp("192.168.x.x" port(514));
> };
>
> And then refer to this destination in your log statements.
>
> Regards,
>
> Sandor
> --------------------------------------------------------
>
> NOTICE: If received in error, please destroy and notify sender. Sender
> does not intend to waive confidentiality or privilege. Use of this email is
> prohibited when received in error.
> _______________________________________________
> syslog-ng maillist  -  syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>


-- 
Chris Harner  []  Server Engineer  []  Arnold Transportation Services
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070828/ded6382d/attachment.htm 


More information about the syslog-ng mailing list