<p dir="ltr">Thanks for the report, these actually help a lot to refine the documentation.</p>
<p dir="ltr">Regarding the comma, iirc it works when using the value pairs definition with the config file syntax and not when using the command line syntax. This could and should be fixed in the code instead of the documentation. </p>

<p dir="ltr">Anyone volunteering with a patch? Should be easy.</p>
<div class="gmail_quote">On Aug 22, 2013 3:33 PM,  &lt;<a href="mailto:bugzilla@bugzilla.balabit.com">bugzilla@bugzilla.balabit.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<a href="https://bugzilla.balabit.com/show_bug.cgi?id=248" target="_blank">https://bugzilla.balabit.com/show_bug.cgi?id=248</a><br>
<br>
           Summary: template parsing does not split &quot;,&quot; argument of --scope<br>
           Product: syslog-ng<br>
           Version: 3.4.x<br>
          Platform: PC<br>
        OS/Version: Linux<br>
            Status: NEW<br>
          Severity: normal<br>
          Priority: unspecified<br>
         Component: syslog-ng<br>
        AssignedTo: <a href="mailto:bazsi@balabit.hu">bazsi@balabit.hu</a><br>
        ReportedBy: <a href="mailto:bugzilla.balabit@faxm0dem.org">bugzilla.balabit@faxm0dem.org</a><br>
Type of the Report: ---<br>
   Estimated Hours: 0.0<br>
<br>
<br>
As stated in paragraph 2.8.4.(Structuring macros, metadata, and other value-pairs) of the documentation, in example  2.1. (Using the value-pairs() option)<br>
it should be possible to pass multiple coma separated values to a template. However, this seems to be broken:<br>
<br>
Error parsing config, Error compiling template (Error parsing value-pairs: unknown scope all-nv-pairs,rfc5423) in /opt/etc/syslog-ng.conf at line 44, column<br>
14:<br>
<br>
<br>
    template(&quot;$(format-json --scope all-nv-pairs,rfc5423 )\\n&quot;);<br>
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>
<br>
The workaround is to specify &#39;--scope $scope&#39; multiple times<br>
<br>
<br>
--<br>
Configure bugmail: <a href="https://bugzilla.balabit.com/userprefs.cgi?tab=email" target="_blank">https://bugzilla.balabit.com/userprefs.cgi?tab=email</a><br>
------- You are receiving this mail because: -------<br>
You are watching all bug changes.<br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div>