[rsyslog-notify] Forum Thread: Re: Spooling Logs to Disk & Defining Threads - (Mode 'reply')
noreply at adiscon.com
noreply at adiscon.com
Thu May 7 15:42:09 CEST 2015
User: snorman1483
Forumlink: http://kb.monitorware.com/viewtopic.php?p=25524#p25524
Message:
----------
Thank you for the quick reply and help with my configuration. Question, I
set each rule to write to a directory to spool logs when the remote host is
not available but it does not seem to be working properly. Each action has
it's own file name and path to write spooled logs to. But when the remote
host is down or not available the spools do not spool to disk.
if $msg contains "Hostname" then {
action(
type="omfwd"
target="TargetIP"
port="514"
Protocol="TCP"
Template="RSYSLOG_ForwardFormat"
queue.spoolDirectory="/var/log/rsyslog"
queue.maxdiskspace="10g"
queue.filename="fwdlogtohostw"
queue.type="LinkedList"
queue.saveonshutdown="on"
)
stop
}
More information about the rsyslog-notify
mailing list