[syslog-ng] Syslog-ng and External variables

Scheidler, Balázs balazs.scheidler at balabit.com
Tue Aug 30 12:39:47 CEST 2016


Yeah, well. HOSTNAME would be ambigious, as we do have a $HOST macro, which
is actually the sender and not the server.

-- 
Bazsi

On Mon, Aug 29, 2016 at 7:40 PM, Robert Blayzor <rblayzor.bulk at inoc.net>
wrote:

> Makes sense, and it does work as intended. I also managed to stumble
> across the “$LOGHOST” macro as well, that does exactly the same thing.
>
> Unfortunately I was digging through the docs in the wrong place.
> “hostname” never found it… :(
>
> --
> Robert
> inoc.net!rblayzor
> XMPP: rblayzor.AT.inoc.net
> PGP Key: 78BEDCE1 @ pgp.mit.edu
>
>
>
>
> > On Aug 29, 2016, at 12:19 PM, Evan Rempel <erempel at uvic.ca> wrote:
> >
> > It is done only once when the configuration file is evaluated.
> > I think it is obvious that the rewrite is done every time :-)
>
> ____________________________________________________________
> __________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?
> product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20160830/275293ed/attachment.htm 


More information about the syslog-ng mailing list