<div dir="ltr"><div><div><div>I like solution #1 and decided to try it, but now I get<br><br> Compiling p_json sequence [parser] at [/etc/syslog-ng/syslog-ng.conf:1]<br> Compiling #unnamed single [log] at [/etc/syslog-ng/syslog-ng.conf:1]<br>Segmentation fault<br><br></div>This is using syslog-ng 3.5 and the fault happens in <a href="http://libc-2.19.so">libc-2.19.so</a>.<br><br></div>Could it be a bug in the version and if so, should I compile from source with 3.12?<br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 3, 2017 at 3:35 PM, Fabien Wernli <span dir="ltr"><<a href="mailto:wernli@in2p3.fr" target="_blank">wernli@in2p3.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
2 solutions:<br>
<br>
1. use rewrite rules upstream to set $source then use --pair source=$source<br>
<br>
2. use persist-name(myname) in the two destinations config<br>
<br>
______________________________<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>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div>Alicia Smith<br></div><div>@phrozyn<br>Information Security Engineer<br></div><div><a href="mailto:asmith@mozilla.com" target="_blank">asmith@mozilla.com</a><br><br></div></div></div></div></div></div></div></div>
</div>