Bug 1223566
Summary: | RFE: imrelp does not support binding to a specific ruleset before rsyslog 8.x | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | James Ralston <ralston> | ||||||
Component: | rsyslog | Assignee: | Radovan Sroka <rsroka> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Stefan Dordevic <sdordevi> | ||||||
Severity: | unspecified | Docs Contact: | Mirek Jahoda <mjahoda> | ||||||
Priority: | unspecified | ||||||||
Version: | 7.1 | CC: | bressers, cww, lmiksik, mpoole, pvrabec, rsroka, sdordevi | ||||||
Target Milestone: | rc | Keywords: | FutureFeature, Patch | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Release Note | |||||||
Doc Text: |
The _rsyslog_ RELP module now binds to a specific rule set
With this update, the _rsyslog_ Reliable Event-Logging Protocol (RELP) module is now capable of binding to specific rule set with each input instance. The `input()` instance rule set has higher priority than the `module()` rule set.
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-11-04 05:35:53 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1203710, 1296594, 1313485 | ||||||||
Attachments: |
|
Description
James Ralston
2015-05-20 21:55:24 UTC
Created attachment 1129331 [details]
Backport of ruleset parameter
After this backport, module() and input() have ruleset parameter and input ruleset has higher priority than module ruleset.
There are some configs for receiver:
--------------------------------------------------
ruleset(name="testrs") {
action(type="omfile" file="/tmp/testfile")
}
module( load="imrelp"
ruleset="testrs")
input( type="imrelp" port="5000")
---------------------------------------------------
ruleset(name="testrs1") {
action(type="omfile" file="/tmp/testfile")
}
ruleset(name="testrs2") {
action(type="omfile" file="/tmp/testfile2")
}
module(load="imrelp")
input(type="imrelp" port="5000" ruleset="testrs1")
input(type="imrelp" port="10000" ruleset="testrs2")
--------------------------------------------------
ruleset(name="testrs1") {
action(type="omfile" file="/tmp/testfile")
}
ruleset(name="testrs2") {
action(type="omfile" file="/tmp/testfile2")
}
module(load="imrelp" ruleset="testrs1")
input(type="imrelp" port="5000" )
input(type="imrelp" port="10000" ruleset="testrs2")
--------------------------------------------------
And sender config:
--------------------------------------------------
module( load="imuxsock")
input(type="imuxsock" socket="/tmp/socket" createpath="on")
module(load="omrelp")
*.* action(type="omrelp" target="127.0.0.1" port="5000")
*.* action(type="omfile" file="/tmp/in.log")
*.* action(type="omrelp" target="127.0.0.1" port="10000")
--------------------------------------------------
logger -u /tmp/socket <message>
Created attachment 1158335 [details]
Backport of ruleset parameter(2)
Resolved double free found by Stefan Dordevic
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2401.html |