I have another problem now.
my syslog-ng server (Syslog-ng OSE 3.0.4), this came default with SOLARIS OS..
is not using patterndb.xml db_parser i configured in syslog-ng.conf. I chopped off the message id content and the actual message is sent to pattern-db parser but all the macro values that are referred from here are not getting populated in the final log
<rule provider="patterndb" id="aecda233-3d80-48cd-a72b-4896f58069c8" class="system">
<patterns>
<pattern>Failed @STRING:usracct.authmethod@ for @STRING:usracct.username@ from @IPv4:temp.src_ip@ port @NUMBER:temp.src_port@ @STRING:usracct.service@</pattern>
</patterns>
<examples>
<example>Failed password for bazsi from 127.0.1.1 port 44637 ssh2</example>
</examples>
<values>
<value name="usracct.type">login</value>
<value name="usracct.sessionid">$PID</value>
<value name="usracct.application">$PROGRAM</value>
<value name="usracct.device">${temp.src_ip}:${temp.src_port}</value>
<value name="secevt.verdict">REJECT</value>
</values>
<tags>
<tag>usracct</tag>
<tag>secevt</tag>
</tags>
</rule>