[prev in list] [next in list] [prev in thread] [next in thread] 

List:       syslog-ng
Subject:    Re: [syslog-ng] Syslog-ng and External variables
From:       Scheidler, Balázs <balazs.scheidler () balabit ! com>
Date:       2016-08-30 10:39:47
Message-ID: CANWQT2PnTphJTiFZ9m+ehn7rkNt=q2O+6EbHX3O7NdoHs71Wdg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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@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
>
>

[Attachment #5 (text/html)]

<div dir="ltr">Yeah, well. HOSTNAME would be ambigious, as we do have a $HOST macro, \
which is actually the sender and not the server.<br></div><div \
class="gmail_extra"><br clear="all"><div><div class="gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr">-- <br>Bazsi<br></div></div></div> \
<br><div class="gmail_quote">On Mon, Aug 29, 2016 at 7:40 PM, Robert Blayzor <span \
dir="ltr">&lt;<a href="mailto:rblayzor.bulk@inoc.net" \
target="_blank">rblayzor.bulk@inoc.net</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">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.<br> \
<br> Unfortunately I was digging through the docs in the wrong place. "hostname" \
never found it… :(<br> <span class="im HOEnZb"><br>
--<br>
Robert<br>
<a href="http://inoc.net" rel="noreferrer" target="_blank">inoc.net</a>!rblayzor<br>
XMPP: <a href="http://rblayzor.AT.inoc.net" rel="noreferrer" \
target="_blank">rblayzor.AT.inoc.net</a><br> PGP Key: 78BEDCE1 @ <a \
href="http://pgp.mit.edu" rel="noreferrer" target="_blank">pgp.mit.edu</a><br> <br>
<br>
<br>
<br>
</span><span class="im HOEnZb">&gt; On Aug 29, 2016, at 12:19 PM, Evan Rempel &lt;<a \
href="mailto:erempel@uvic.ca">erempel@uvic.ca</a>&gt; wrote:<br> &gt;<br>
&gt; It is done only once when the configuration file is evaluated.<br>
&gt; I think it is obvious that the rewrite is done every time :-)<br>
<br>
</span><div class="HOEnZb"><div \
class="h5">______________________________<wbr>______________________________<wbr>__________________<br>
 Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" \
rel="noreferrer" target="_blank">https://lists.balabit.hu/<wbr>mailman/listinfo/syslog-ng</a><br>
                
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" \
rel="noreferrer" target="_blank">http://www.balabit.com/<wbr>support/documentation/?<wbr>product=syslog-ng</a><br>
                
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" \
target="_blank">http://www.balabit.com/wiki/<wbr>syslog-ng-faq</a><br> <br>
</div></div></blockquote></div><br></div>



______________________________________________________________________________
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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic