[syslog-ng] syslog-ng premium "$HOST" issue
Arya, Manish Kumar
m.arya at yahoo.com
Fri Jul 17 08:02:05 CEST 2009
perfect :-) its working fine now
--- On Fri, 7/17/09, SZALAY Attila <sasa at pheniscidae.tvnetwork.hu> wrote:
> From: SZALAY Attila <sasa at pheniscidae.tvnetwork.hu>
> Subject: Re: [syslog-ng] syslog-ng premium "$HOST" issue
> To: "Syslog-ng users' and developers' mailing list" <syslog-ng at lists.balabit.hu>
> Date: Friday, July 17, 2009, 11:15 AM
> Hi!
>
> On Thu, 2009-07-16 at 20:25 -0700, Arya, Manish Kumar
> wrote:
> > Hi,
> >
>
> >
> template("'$HOST'|'$FACILITY'|'$PRIORITY'|'$PROGRAM'|'$MONTH
> $DAY$ $YEAR $HOUR:$MIN:$SEC'|'$MSGONLY'\n"));
> >
> > but here in $HOST I am getting name of central syslog
> server instead of actual host.
> >
> > While in ver 1.6.5 it appears correct using same
> template on events coming from 4 collectors.
> >
> > is there version incompatibility or some bug in ver
> 3.0.2a
>
> Maybe we can call it version incompatibility. There is an
> option called
> keep_hostname. IIRC the default of this option is changed
> from True to
> False. If you set it to true, you could get the behavior
> you want.
>
> You should add "keep_hostname(yes);" to the option
> section.
>
> -----Inline Attachment Follows-----
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
>
>
More information about the syslog-ng
mailing list