papanito.rsyslog
Ansible role to forward syslog to a log service like Loggly.com or Logz.io
Posted May 12, 2022 by Adrian Wyssmann
Source
https://github.com/papanito/ansible-role-rsyslog
Role Summary
Ansible role to forward syslog to a log service like Loggly.com or Logz.io. The role also forwards the systemd logs to syslog. Details regarding the syslog configuration can be found here:
Background
For my servers I rely on external logging services. I first used Loggly.com but in meanwhile switched to Logz.io. Both are great services and offer free tiers for private use - usually very limited but sufficient if you have only few servers/services. For my servers I prefer to use rsyslog to forward the logs. In order to setup, I use this ansible role.
This role is based on the role from jmcvetta/ansible-loggly. His role is focused on Loggly.com while I extend my role to support other services as well