Centralisation des journaux (pas encore Elastic) #40

Manually merged
jeltz merged 112 commits from logs-first-phase into master 3 years ago
jeltz commented 3 years ago
Owner
There is no content yet.
jeltz added 22 commits 3 years ago
continuous-integration/drone/push Build is passing Details
89181c6cd6
Add log.adm.auro.re to inventory
continuous-integration/drone/push Build is failing Details
02a8cb84df
Add log.yml playbook
continuous-integration/drone/push Build is failing Details
ba8b4e8c29
Fix the ordering of rsyslog.d files
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.
continuous-integration/drone/push Build is failing Details
f7183095c1
Add explicit permissions for directories
continuous-integration/drone/push Build is failing Details
c65b3f090b
Compress and delete old remote logs
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).
continuous-integration/drone/push Build is failing Details
e4b58c0bf4
Fix typo in 20-collector.conf.j2
continuous-integration/drone/push Build is failing Details
9252249d18
Use 'true' instead of 'yes'
continuous-integration/drone/push Build is failing Details
cdb9f88614
Do not rate limit collection of journald logs
continuous-integration/drone/push Build is failing Details
9547868c7d
Send nginx logs to local syslog
continuous-integration/drone/push Build is failing Details
8f815a30c5
Remove useless date (already added by journald)
continuous-integration/drone/push Build is failing Details
b13b22da05
Add ignored destinations for firewall logs
continuous-integration/drone/push Build is failing Details
1f6bfeee23
Fix broadcast address on routeur-aurore
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.
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
6525508401
Forward journald logs to rsyslog
jeltz merged commit 11578494ec into master manually 3 years ago
The pull request has been manually merged as 11578494ec.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
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
Loading…
There is no content yet.