Centralisation des journaux (pas encore Elastic) #40

Manually merged
jeltz merged 24 commits from logs-first-phase into master 2024-07-01 01:55:28 +02:00
Owner
No description provided.
jeltz added 22 commits 2021-03-12 10:23:04 +01:00
Add log.adm.auro.re to inventory
All checks were successful
continuous-integration/drone/push Build is passing
89181c6cd6
Add log.yml playbook
Some checks failed
continuous-integration/drone/push Build is failing
02a8cb84df
Fix the ordering of rsyslog.d files
Some checks failed
continuous-integration/drone/push Build is failing
ba8b4e8c29
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.
Add explicit permissions for directories
Some checks failed
continuous-integration/drone/push Build is failing
f7183095c1
Compress and delete old remote logs
Some checks failed
continuous-integration/drone/push Build is failing
c65b3f090b
Logrotate is not used because I didn't found an easy way to configure it
to handle the compression/deletion of log files already rotated by
rsyslog (it is probably possible, but I found the script to be easier).
Fix typo in 20-collector.conf.j2
Some checks failed
continuous-integration/drone/push Build is failing
e4b58c0bf4
Use 'true' instead of 'yes'
Some checks failed
continuous-integration/drone/push Build is failing
9252249d18
Do not rate limit collection of journald logs
Some checks failed
continuous-integration/drone/push Build is failing
cdb9f88614
Send nginx logs to local syslog
Some checks failed
continuous-integration/drone/push Build is failing
9547868c7d
Remove useless date (already added by journald)
Some checks failed
continuous-integration/drone/push Build is failing
8f815a30c5
Add ignored destinations for firewall logs
Some checks failed
continuous-integration/drone/push Build is failing
b13b22da05
Fix broadcast address on routeur-aurore
Some checks failed
continuous-integration/drone/push Build is failing
1f6bfeee23
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.
Forward journald logs to rsyslog
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
6525508401
jeltz manually merged commit 11578494ec into master 2021-03-30 07:52:13 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: aurore/ansible#40
No description provided.