Hi Ruben, this is more or less what I would do:
* Each device logs into a file using omfile (this could be avoided if
using /var/log/messages)
* Theres a imfile which always retry and uses ruleset to forward
(using omrelp)
* My omrelp would just read and retry without a queue (or queue
size=1?), cause it would be always "readable from file"
David, that should work, isnt it?
On 08/06/17 01:56, David Lang wrote:
you never gave it a filename to use for the disk queue by the way.
On Wed, 7 Jun 2017, Ruben Papovyan wrote:
Date: Wed, 7 Jun 2017 16:53:33 -0700
From: Ruben Papovyan <rpus...@gmail.com>
To: David Lang <da...@lang.hm>
Cc: Ruben Papovyan via rsyslog <rsyslog@lists.adiscon.com>
Subject: Re: [rsyslog] Configuration for rsyslogd to send logs to remote
server when it will have internet and after system reboot
I read it,
I changed my config to this one
But it not working the way I want. (It not sending logs after reboot and
after disconnect and connect to network )
$template ProxiesTemplate,"%msg%\n"
$MainMsgQueueSaveOnShutdown on
$MainMsgQueueType Disk
$MainMsgQueueSyncQueueFiles on
local4.* @@52.44.103.241:3345;ProxiesTemplate
On 7 June 2017 at 16:14, David Lang <da...@lang.hm> wrote:
start by reading
http://www.rsyslog.com/doc/v8-stable/concepts/queues.html
and http://www.rsyslog.com/doc/v8-stable/rainerscript/queue_para
meters.html
_______________________________________________
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.