Rsyslog testing.
This commit is contained in:
parent
5565ab203b
commit
e1aa9466c7
2 changed files with 16 additions and 16 deletions
|
|
@ -86,8 +86,8 @@ ruleset(name="localSyslog") {
|
|||
|
||||
# Write the logs.
|
||||
# foreach ($.logfile in $!logfiles) do {
|
||||
action(type="omfile" dynaFile="localFile" template="localLogLine" asyncWriting="off" flushInterval="5" ioBufferSize="64k" createDirs="on")
|
||||
action(type="omfile" dynaFile="centralFile" template="centralLogLine" asyncWriting="off" flushInterval="5" ioBufferSize="64k" createDirs="on")
|
||||
action(type="omfile" dynaFile="localFile" template="localLogLine" asyncWriting="on" flushInterval="5" ioBufferSize="64k" createDirs="on")
|
||||
# action(type="omfile" dynaFile="centralFile" template="centralLogLine" asyncWriting="on" flushInterval="5" ioBufferSize="64k" createDirs="on")
|
||||
# }
|
||||
}
|
||||
|
||||
|
|
@ -173,8 +173,8 @@ ruleset(name="remoteSyslog") {
|
|||
|
||||
# Inputs.
|
||||
input(type="imuxsock" socket="/dev/log" usePIDFromSystem="on" ruleset="localSyslog")
|
||||
input(type="imudp" port="25414" ruleset="remoteSyslog")
|
||||
input(type="imtcp" port="25414" ruleset="remoteSyslog")
|
||||
#input(type="imudp" port="25414" ruleset="remoteSyslog")
|
||||
#input(type="imtcp" port="25414" ruleset="remoteSyslog")
|
||||
|
||||
# Include additional configurations.
|
||||
include(file="/etc/rsyslog.d/*.conf" mode="optional")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue