This ansible role installs log shipper configuration for logz_io
- hosts: all
roles:
- role: wtanaka.logz_io
# Get this from
# https://app.logz.io/#/dashboard/data-sources/rsyslog
logz_io_secret_key: WojImBeteuWraibutOshpeujdukpeoja
logz_io_site_config:
# Conf files get put in
# /etc/rsyslog.d/21-logzio-{{conf_filename}}.conf
- conf_filename: nginxerror
input_file_name: /var/log/nginx/error.log
# See support.logz.io/support/solutions/articles/6000110550
input_file_type: nginx-error
GPLv2