Couldn't that be done using patterndb? Sent from my Verizon Wireless 4G LTE smartphone -------- Original message -------- From: Fabien Wernli <wernli@in2p3.fr> Date: 06/09/2015 10:29 AM (GMT-05:00) To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu> Subject: Re: [syslog-ng] Integrating with snmp traps Hi, On Tue, Jun 09, 2015 at 06:26:40AM -0700, Evan Rempel wrote:
When you say you "would actually like to parse all the key-values from the original payload" what do you mean? Do you want to process them with syslog-ng filters etc, or are you feeding this to another type of structured worker thread?
I'd like to basically have the structured SNMP message parsed in syslog-ng, in the same way json-parser() parses JSON payload, and makes the key-values available as macros in syslog-ng. ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq