What is the best way to write a custom filter for syslog-ng? Any pointers would be most appreciated.

 

Thanks,

Rohit