OpenStack rsyslog server

OpenStack rsyslog server

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

Table of contents

To clone or view the source code for this repository, visit the role repository for rsyslog_server.

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" ] }
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.