Commit Graph

14 Commits

Author SHA1 Message Date
Alexandre Iooss 94b8f37302 rsyslog_common: remove become true 2021-11-22 18:02:53 +01:00
jeltz b29e9c0e45 Configure a disk-assisted queue for output actions 2021-04-30 16:49:00 +02:00
jeltz 85e691a0a2 Don't store journald logs to disk
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
As they are already stored on disk by rsyslog.
2021-03-30 07:46:06 +02:00
jeltz 3030d3bfab Fix typo: use 'Reload' instead of 'Restart' 2021-03-30 07:42:46 +02:00
jeltz f59d9ee6f0 WIP: add logrotate config for rsyslog-managed files 2021-03-30 06:01:43 +02:00
jeltz 637b74a2ad Fix some linter issues 2021-03-13 05:05:30 +01:00
jeltz 6525508401 Forward journald logs to rsyslog
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2021-03-02 01:24:53 +01:00
jeltz 77a5fdac6f Remove some duplicate logs from syslog.log 2021-03-02 00:56:28 +01:00
jeltz 529550f594 Don't use 'imjournal' ('imuxsock' is already used)
I still don't understand why it increased the size of the firewall logs
by a factor of 5 to 10, but we don't really need structured logs from
systemd-journald and the author seems to discourage it's use, so I will
not investigate further.
2021-03-02 00:46:16 +01:00
jeltz cdb9f88614 Do not rate limit collection of journald logs
continuous-integration/drone/push Build is failing Details
2021-03-01 16:31:52 +01:00
jeltz 9252249d18 Use 'true' instead of 'yes'
continuous-integration/drone/push Build is failing Details
2021-03-01 04:15:54 +01:00
jeltz f7183095c1 Add explicit permissions for directories
continuous-integration/drone/push Build is failing Details
2021-03-01 02:26:22 +01:00
jeltz ba8b4e8c29 Fix the ordering of rsyslog.d files
continuous-integration/drone/push Build is failing Details
A call to sendLogsToRemote for logs received through RELP/UDP has
been added (to send them to Logstash/Redis/…), so common.conf's prefix
must be lower than collector.conf's.

Note: future "third-party" config files will also call sendLogsToRemote
and thus will also have to use a prefix higher than 10.
2021-03-01 02:15:28 +01:00
jeltz 6263c31785 Add rsyslog_common role 2021-03-01 01:27:30 +01:00