<div dir="ltr">Hi,<div><br></div><div>Ohh, my bad, i forgot to add the repository after I imported the key :)</div><div><br></div><div>Thanks, Robert</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-06-13 12:24 GMT+02:00 Czanik, Péter <span dir="ltr"><<a href="mailto:peter.czanik@balabit.com" target="_blank">peter.czanik@balabit.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>It was added in version 3.8, so you should install a more recent version of syslog-ng. You can find links to download locations and documentation at <a href="https://syslog-ng.org/3rd-party-binaries/" target="_blank">https://syslog-ng.org/3rd-<wbr>party-binaries/</a><br><br></div>Bye,<br></div><div class="gmail_extra"><br clear="all"><div><div class="m_8469138308626534046gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Peter Czanik (CzP) <<a href="mailto:peter.czanik@balabit.com" target="_blank">peter.czanik@balabit.com</a>><br>Balabit / syslog-ng upstream<br><a href="https://www.balabit.com/blog/author/peterczanik/" target="_blank">https://www.balabit.com/blog/<wbr>author/peterczanik/</a><br><a href="https://twitter.com/PCzanik" target="_blank">https://twitter.com/PCzanik</a></div></div></div></div>
<br><div class="gmail_quote"><div><div class="h5">On Tue, Jun 13, 2017 at 12:15 PM, Sandbox <span dir="ltr"><<a href="mailto:sandboxheh@gmail.com" target="_blank">sandboxheh@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>I would like to use the date-parser.</div><div><br></div><div>When i using the below parse it says "date-parser not found":</div><div><br></div><div><div>parser haproxy_date {</div><div> date-parser(</div><div> format("%d/%m/%Y:%H:%M:%S %z")</div><div> template("$(substr ${MSG} 0 27)") );.</div><div>};</div></div><div><br></div><div><div>Plugin module not found in 'module-path'; module-path='/usr/lib/syslog-n<wbr>g/3.5.6', module='date-parser'</div><div>Error parsing parser expression, parser plugin date-parser not found in /etc/syslog-ng/conf.d/20-hapro<wbr>xy.conf at line 26, column 5:</div><div> included from /etc/syslog-ng/syslog-ng.conf line 165, column 1</div><div><br></div><div> date-parser(</div><div> ^^^^^^^^^^^</div></div><div><br></div><div>It's weird, because when i try to use the date-parser module in the log section:</div><div><br></div><div>log { source(s_haproxy); filter(f_haproxy_info); date-parser(format("%d/%m/%Y:%<wbr>H:%M:%S %z") template("$(substr ${MSG} 0 27)") ); destination(d_haproxy_info); };<br></div><div><br></div><div>it says:</div><div><br></div><div><div>Error parsing log, syntax error, unexpected LL_IDENTIFIER, expecting '}' in /etc/syslog-ng/conf.d/20-hapro<wbr>xy.conf at line 37, column 5:</div><div> included from /etc/syslog-ng/syslog-ng.conf line 165, column 1</div><div><br></div><div> date-parser(format("%d/%m/%Y:%<wbr>H:%M:%S %z") template("$(substr ${MSG} 0 27)") );</div><div> ^^^^^^^^^^^</div></div><div><br></div><div>In OSE version the date-parser module is not available, or i'm missing something?</div><div><br></div><div><br></div><div>Thanks, Robert</div></div>
<br></div></div>______________________________<wbr>______________________________<wbr>__________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailm<wbr>an/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/support<wbr>/documentation/?product=<wbr>syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/sy<wbr>slog-ng-faq</a><br>
<br>
<br></blockquote></div><br></div>
<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>
<br></blockquote></div><br></div>