How is that supposed to work? I see there is immark module but no docs (no link at http://www.rsyslog.com/doc/rsyslog_conf_modules.html).

  Searched a bit and as far as I can tell it's supposed to work like this:

load immark, set frequency old style (http://www.rsyslog.com/doc/rsconf1_markmessageperiod.html):

  $ModLoad immark.so
  $MarkMessagePeriod 60

  new style: module(load="immark")

  how do I specify frequency when using new style?

The above setup will produce mark messages for all output modules/actions?

  then in action I can specify

  action(
    type="omrelp"
    action.writeAllMarkMessages="on"
    ... other action params...
  )

  to send them always or only after inactivity?

        erik

On 12/09/2013 09:54 PM, David Lang wrote:
one woraround for this would be to enable the 'mark' module on your
sending systems. that will let you generate one log per minute and keep
the connection from going completely idle for too long.

David Lang

On Mon, 9 Dec 2013, Erik Steffl wrote:

Date: Mon, 09 Dec 2013 19:33:14 -0800
From: Erik Steffl <[email protected]>
Reply-To: rsyslog-users <[email protected]>
To: rsyslog-users <[email protected]>
Subject: [rsyslog] TCP KeepAlive supported with RELP?

http://www.rsyslog.com/doc/imtcp.html mentions support of KeepAlive.

 Is this available with imrelp/omrelp? I don't see it listed in docs:

http://www.rsyslog.com/doc/imrelp.html
http://www.rsyslog.com/doc/omrelp.html

 Just trying to see if KeepAlive would be a reasonable workaround for
the problem we encounter when using Amazon Elastic Load Balancer which
seems to cause huge delays if there is 5 minute gap in traffic.

 These do not work, tried them one by one (config error):

input(type="imrelp" port="5140" KeepAlive="on")
module(load="imrelp" ruleset="collector" KeepAlive="on")
module(load="omrelp" KeepAlive="on")
action(type="omrelp" KeepAlive="on" ...)

 Given that i/omrelp modules use TCP is there some way to make them
use TCP KeepAlive?

 Thanks!

    erik
_______________________________________________
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.

_______________________________________________
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