2

I'm using the imuxsock module to listen to additional local log sockets (i.e., with the $AddUnixListenSocket directive).

After reading the awesome http://www.rsyslog.com/doc/multi_ruleset.html page, I'm interested in binding separate rulesets to each socket. That page gives the example of binding a ruleset to a particular tcp port (i.e., using the imtcp module & it's $InputTCPServerBindRuleset directive), but according to that page:

Note that the input module must support binding to non-standard rulesets, so the functionality may not be available with all inputs.

I haven't been able to find any documentation on how to do the same with imuxsock. Is the feature there, but undocumented? Or is there some other way to accomplish the same (applying X rules to messages from X socket and Y rules to messages from Y socket)?

2 Answers 2

1

I was looking for the same thing, and I couldn't find it. And I assume it's just not supported. Here's a comment from the source code.

/* we do not use this, because we do not bind to a ruleset so far * enable when this is changed: #include "im-helper.h" / / must be included AFTER the type definitions! */

I assume it can be implemented. You can either contribute a patch or pay the guys at Adiscon to do it.

1

FINALLY.

imuxsock: add ruleset support

Done in rsyslog v8.17. Now to figure out if it works ...

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .