I have a bit (I hope that only "a bit":) strange use case for rsyslog: I need it to save all data into MySQL db AND at the same time duplicate it and send over network (or via local unix socket) in simple (easy to parse) format.
As far as I understood I need to create custom output plugin for rsyslog. The problem is that I was unable to find any documentation how to write plugins for rsyslog. Could you please point me to some place where I can read about it (besides source code itself
Of course it would be great if I can achieve this via editing rsyslog config only - please tell me if you have an idea about how to do it.


