<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">It is done only once when the
configuration file is evaluated.<br>
I think it is obvious that the rewrite is done every time :-)<br>
<br>
On 08/29/2016 09:16 AM, Robert Blayzor wrote:<br>
</div>
<blockquote cite="mid:CC84AE33-9ACA-4E77-BBD8-57D4098C46E0@inoc.net"
type="cite">
<pre wrap="">On Aug 29, 2016, at 11:38 AM, Evan Rempel <a class="moz-txt-link-rfc2396E" href="mailto:erempel@uvic.ca"><erempel@uvic.ca></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
@module confgen context(rewrite) name(r_myself) exec("/bin/hostname")
</pre>
</blockquote>
<pre wrap="">
I guess the only remaining question on this is a performance one.
Would the exec be done for each and every log message or is it done only once?
--
Robert
inoc.net!rblayzor
XMPP: rblayzor.AT.inoc.net
PGP Key: 78BEDCE1 @ pgp.mit.edu
______________________________________________________________________________
Member info: <a class="moz-txt-link-freetext" href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a>
Documentation: <a class="moz-txt-link-freetext" href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a>
FAQ: <a class="moz-txt-link-freetext" href="http://www.balabit.com/wiki/syslog-ng-faq">http://www.balabit.com/wiki/syslog-ng-faq</a>
</pre>
</blockquote>
<br>
<p><br>
</p>
<pre class="moz-signature" cols="500">--
Evan Rempel <a class="moz-txt-link-abbreviated" href="mailto:erempel@uvic.ca">erempel@uvic.ca</a>
Senior Systems Administrator 250.721.7691
Data Centre Services, University Systems, University of Victoria
</pre>
</body>
</html>