When using correlating message with syslog-ng 3.3.1 i get only the value in the last matching rule but not the earlier.<br>Here is my patterndb.xml<br><br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
<?xml version='1.0' encoding='UTF-8'?><br><patterndb version='3' pub_date='2011-11-07'><br> <ruleset name='ecelerity' id='12345678'><br> <pattern>ecelerity</pattern><br>
<rules><br> <rule provider='me' id='123475980' class='system'<br> context-scope='program' context-id='${MSG.UID}' context-timeout='10'><br> <patterns><br>
<pattern>@ESTRING:LOG.UTC:|@@ESTRING:LOG.UID:|@ORCPTS|@ANYSTRING:LOG.VAL:@</pattern><br> </patterns></blockquote><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
<div> <examples><br> <example><br> <test_message program="ecelerity">1319550976|c0a80a3c-b7f6c6d000002063-1f-4ea6c0004833|ORCPTS|s.andriamampianina@***.**</test_message><br>
<test_values><br> <test_value name="LOG.UTC">1319550976</test_value><br> <test_value name="LOG.UID">c0a80a3c-b7f6c6d000002063-1f-4ea6c0004833</test_value> <br>
<test_value name="LOG.VAL">s.andriamampianina@***.**</test_value><br> </test_values><br> </example><br> </examples> <br></div>
</blockquote><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"> </rule><br> <rule provider='me' id='123475981' class='system'<br>
context-id='${MSG.UID}'><br> <patterns><br> <pattern>@ESTRING:LOG.UTC:|@@ESTRING:LOG.UID:|@SENDER|@ANYSTRING:LOG.VAL:@</pattern><br> </patterns><br> <actions><br>
<action><br> <message><br> <values><br> <value name="MESSAGE">From ${LOG.VAL}@1 to ${LOG.VAL}@2.</value><br> <value name="TRIGGER">yes</value><br>
</values><br> </message><br> </action><br> </actions><br> </rule> <br> </rules><br> </ruleset><br>
</patterndb><br></blockquote><div><br> And the message i get is "from *****@**.** to ."<br>Where did I get wrong?<br></div>