
For some osp versions there are more statements after the stop statement in 05-outputs.conf. Since config files are loaded in lexical order and we don'totally blow away the existing config the only way to be 100% sure that stop is the last thing loaded is to insert it at the end of the main config. This causes a bug in the adiscon repo. But the official CentOS versions of all the packages we need are finally available. So we switch to those Change-Id: I2109bde6572cc8ccf7d633ed1a795bf8449d1a89
22 lines
746 B
Django/Jinja
22 lines
746 B
Django/Jinja
#jinja2: lstrip_blocks: True
|
|
#### OUTPUTS ####
|
|
{% if not rsyslog_forwarding or rsyslog_aggregator %}
|
|
action(
|
|
name="send-es-prod"
|
|
type="omelasticsearch"
|
|
server="{{rsyslog_elasticsearch_server}}"
|
|
serverport="{{rsyslog_elasticsearch_port}}"
|
|
template="com-redhat-rsyslog-hier"
|
|
searchIndex="logstash-index-pattern"
|
|
dynSearchIndex="on"
|
|
searchType="rsyslog"
|
|
bulkmode="on"
|
|
queue.type="linkedlist"
|
|
queue.size="5000"
|
|
queue.dequeuebatchsize="600"
|
|
action.resumeretrycount="-1")
|
|
{% endif %}
|
|
{% if rsyslog_forwarding and not rsyslog_aggregator %}
|
|
action(type="omfwd" Target="{{rsyslog_aggregator_server}}" Port="{{rsyslog_aggregator_port}}" Protocol="tcp" Template="ViaQ_SyslogProtocol23Format")
|
|
{% endif %}
|