/home/zuul/src/opendev.org/openstack/openstack-ansible-rsyslog_server/defaults/main.yml
---
# Copyright 2014, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

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
rsyslog_server_storage_policy: "per_host"  ## "per_host" stores logs in a sub-directory per host, "per_program" stores per program


# 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