On Thu, 7 Aug 2014, Ivan Lezhnjov IV wrote:

Hello,

Another question I had was, whether imrelp supports ruleset/input binding like 
imtcp does? I run a legacy v5 which is still the default with major Linux 
distributions like Ubuntu so I'd like to stick with this version… just because 
it's a default.

that's a very old version, you'd have to dig in the code

Anyway,  what I have in mind is this, seemingly, common approach:

$RuleSet remote

…

$InputTCPServerBindRuleset remote
$InputTCPServerRun 2514

this wouldn't do relp, it would do normal tcp right?

In my setup, I use rulesets to split local and remote logging. I'd love to user 
RELP over TCP, but I don't see how if I want to preserve the configuration 
where local and remote messages are stored in separate files.

you can do filtering based on fromhost-ip, if it's from 127.0.0.1 send it to one ruleset, else send it to another one.

David Lang

Is there any way to do it with RELP using rulesets, or do I need to use an 
entirely different approach?

Ivan
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to