OpenStack rsyslog server

Role to deploy rsyslog for use within OpenStack when deploying services using containers.

Default variables

cache_timeout: 600

# Set the package install state for distribution packages
# Options are 'present' and 'latest'
rsyslog_server_package_state: "latest"

rsyslog_server_spool_directory: /var/spool/rsyslog
rsyslog_server_storage_directory: /var/log/rsyslog
rsyslog_server_logrotation_window: 14 #Number of days to keep logfiles

# provides UDP syslog reception
rsyslog_server_udp_reception: true
rsyslog_server_udp_port: 514

# provides TCP syslog reception
rsyslog_server_tcp_reception: true
rsyslog_server_tcp_port: 514

# Rate limits
rsyslog_server_ratelimit_interval: 0 # Disabled by default

# To use this setting, you have to configure a interval >0 seconds for rsyslog_server_ratelimit_interval
rsyslog_server_ratelimit_burst: 10000

Required varibles

None

Example playbook

- name: Install rsyslog
  hosts: rsyslog
  max_fail_percentage: 20
  user: root
  roles:
    - { role: "rsyslog_server", tags: [ "rsyslog-server" ] }

Table Of Contents

Next topic

Centralized logging

Project Source

This Page