Hi,
I have devices and I need to collect log from them. Devices not always
having internet and they restarting sometimes.
I need to setup config file for rsyslog to send logs that marked as local4
when they will come online(They may restart may have no internet for day)
Also i need to change queue
start by reading http://www.rsyslog.com/doc/v8-stable/concepts/queues.html and
http://www.rsyslog.com/doc/v8-stable/rainerscript/queue_parameters.html
___
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/prof
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.10
also look at http://www.rsyslog.com/doc/v8-stable/configuration/actions.html
(retry counter for example)
you probably want to do a disk assisted queue, not a disk queue. Disk queues are
very slow.
David Lang
On Wed, 7 Jun 2017, Ruben Papovyan wrote:
I read it,
I changed my config to this
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"
$MainMsgQueueSaveOnS
rom: Ruben Papovyan
To: David Lang
Cc: Ruben Papovyan via rsyslog
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 af
6 matches
Mail list logo