Fixes TCP and UDP strings in rsyslog client log shipping.

Change-Id: Icf81a32fe8bad4c9c17d388ddbaef90424cc99c7
This commit is contained in:
james absalon
2015-10-19 14:39:10 +00:00
parent c4ad7f0055
commit 2f61995ce8

View File

@@ -35,9 +35,9 @@ $ActionResumeRetryCount 250
{{ target.template }}
{% endif %}
{% if target.proto == "udp" %}
{% set action_sting = '*.* @@' %}
{% elif target.proto == "tcp" %}
{% set action_sting = '*.* @' %}
{% elif target.proto == "tcp" %}
{% set action_sting = '*.* @@' %}
{% endif %}
{% if target.action_options is defined %}
{{ action_sting }}{{ target.hostname }}:{{ target.port }};{{ target.action_options }}