<p dir="ltr">What do you get in your script? Empty fields?</p>
<p dir="ltr">The program destination has to be on a direct log path subsequent to the parser.</p>
<div class="gmail_quote">On Mar 4, 2014 7:27 PM, &quot;Justin B&quot; &lt;<a href="mailto:justinkala@gmail.com">justinkala@gmail.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">
<div><br clear="all">Hello</div>
<div> </div>
<div>On My Apache logs I applied csv_parser() and defined the Macros.</div>
<div> parser p_apache {<br>csv-parser(columns(&quot;apache.ETSTAMP&quot;, &quot;apache.TYPE&quot;, &quot;apache.EHOSTNAME&quot;,&quot;apache.ESOURCE&quot;, &quot;apache.EOUTCOME&quot;, &quot;apache.EMSG&quot;,&quot;apache.EUSERID&quot;)<br>

delimiters(&quot;|&quot;)  );<br>};<br></div>
<div> </div>
<div>I want to launch a script whenever the UDP messages are in.So I defined the</div>
<div> </div>
<div> destination d_mesg (program(&quot;/tmp/test.sh&quot; template(&quot;|${apache.ETSTAMP}|${apache.TYPE}|${apache.EHOSTNAME}|${apache.ESOURCE}|${apache.EOUTCOME}|${apache.EMSG}|${apache.EUSERID}\n&quot;)); };</div>
<div> </div>
<div>script is working fine with other destination drivers. Please help<br>-- <br>Kale</div>
<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>
<br></blockquote></div>