<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Parser questions]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">When I try to use &lt;match invert="1"&gt; it desappear when I save.<br />
Invert="1" desappears and all the line &lt;match ...&gt; remains, is it a bug?</p>
<p dir="auto">In fact I would like to match a string in a message and not matching another string in the same message, I don't know if i'm being clear but if I am is that possible?</p>
<p dir="auto">To be clear:<br />
match "abc" but not match if "xyz" is in the message.</p>
<p dir="auto">Regards.</p>
]]></description><link>https://forum.netxms.org/topic/3978/parser-questions</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:07:08 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3978.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Sep 2015 10:38:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Parser questions on Sat, 12 Sep 2015 17:57:41 GMT]]></title><description><![CDATA[<p dir="auto">Yes it's on Syslog server side and you're right, I misunderstood the fonction of invert="1", that's not what I need.<br />
 <br />
When I match in a rule, I send an email (for ex &lt;Match&gt;(.*)Error(.*)&lt;/match)-&gt;event-&gt;EPP-&gt;mail contains syslog message).<br />
But there is messages that contains "Error" and reveals useless (like error user connection or something...)</p>
<p dir="auto">Maybe it's not possible to do that but there is what I want:<br />
if ("abc" &amp;&amp; NOT "XYZ") =&gt; Match (I mean send email)<br />
if ("abc" &amp;&amp; "XYZ") =&gt; don't Match (don't send mail)</p>
<p dir="auto">Of course the test will apply on the same message text, in fact, I would like to seprate "Error connection ... person1" and "Error connection... person2"</p>
<p dir="auto">Thanks a lot.</p>
]]></description><link>https://forum.netxms.org/post/17785</link><guid isPermaLink="true">https://forum.netxms.org/post/17785</guid><dc:creator><![CDATA[sergio]]></dc:creator><pubDate>Sat, 12 Sep 2015 17:57:41 GMT</pubDate></item><item><title><![CDATA[Reply to Parser questions on Thu, 10 Sep 2015 16:06:49 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I suppose you are talking about server side syslog parser. Seems like a bug, I'll check.<br />
But anyway, I don't see how invert will help you - I suppose you'll need two rules anyway: first rule will match "xyz" and stop processing, and second rule will match "abc" and do what is needed.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/17770</link><guid isPermaLink="true">https://forum.netxms.org/post/17770</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 10 Sep 2015 16:06:49 GMT</pubDate></item></channel></rss>