[syslog-ng] Syslog-ng and External variables
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.
On Mon, Aug 29, 2016 at 7:40 PM, Robert Blayzor <rblayzor.bulk at inoc.net>
> 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… :(
> 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/?
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the syslog-ng