[rsyslog-notify] Forum Thread: Re: rsyslog: does rsyslog support in-oder log messages deliv - (Mode 'reply')

noreply at adiscon.com noreply at adiscon.com
Thu Mar 16 14:25:08 CET 2017


User: IgorS 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=27208#p27208

Message: 
----------
Yes, tnx, these explanations makes sense, but i'm not sure if they are
relevant for my configuration. If i understand correctly disk-queues are
not enabled by default and by default there is one worker thread, correct?

My configuration looks like this(/etc/rsyslog.d/my_configuration.conf):

$template rawmsgonly,"%rawmsg%\n"

# Templates
template(name="log_for_syslog_one_on_port_514" type="string"
string="/data/destination.log")

# Rule sets
ruleset(name="rule_for_port_514") {
  ?log_for_syslog_one_on_port_514;rawmsgonly
  stop
}
# Input bindings
input(type="imtcp" port="514" ruleset="rule_for_port_514")


Maybe, there is one worker thread but additional worker threads are spawned
and things can get mixed up (<!-- m --><a class="postlink"
href="http://www.rsyslog.com/doc/v8-stable/concepts/queues.html#worker-thread-pools">http://www.rsyslog.com/doc/v8-stable/co
... read-pools</a><!-- m -->)

Igor.


More information about the rsyslog-notify mailing list