Skip to content
Snippets Groups Projects
Commit b2eca526 authored by jurgenhaas's avatar jurgenhaas
Browse files

Fix syntax

parent 2b2abbe7
No related branches found
No related tags found
No related merge requests found
......@@ -252,7 +252,7 @@
@type forward
port 24284
</source>
{% if elasticsearch_install|default(yes) %}
{% if elasticsearch_install|default('yes') %}
<filter app.ansible>
@type elasticsearch_timestamp_check
......@@ -263,7 +263,7 @@
@type kvp
parse_key log
</filter>
{% if elasticsearch_install|default(yes) %}
{% if elasticsearch_install|default('yes') %}
<filter app.uptime.ping>
@type elasticsearch_timestamp_check
......@@ -274,8 +274,8 @@
{% for appl in hostvars[host].fluentd_applications|default([]) %}
{% if appl.type|default(false) %}
<match {{ appl.index }}>
@type {% if elasticsearch_install|default(yes) %}{{ appl.plugin|default('elasticsearch') }}{% else %}http{% endif %}
{% if elasticsearch_install|default(yes) %}
@type {% if elasticsearch_install|default('yes') %}{{ appl.plugin|default('elasticsearch') }}{% else %}http{% endif %}
{% if elasticsearch_install|default('yes') %}
host 127.0.0.1
port 9200
include_tag_key true
......@@ -311,7 +311,7 @@
{% endfor %}
<match app.ansible>
{% if elasticsearch_install|default(yes) %}
{% if elasticsearch_install|default('yes') %}
@type elasticsearch
host 127.0.0.1
port 9200
......@@ -343,7 +343,7 @@
</match>
<match app.uptime.ping>
{% if elasticsearch_install|default(yes) %}
{% if elasticsearch_install|default('yes') %}
@type elasticsearch
host 127.0.0.1
port 9200
......@@ -375,7 +375,7 @@
</match>
<match haproxy.*>
{% if elasticsearch_install|default(yes) %}
{% if elasticsearch_install|default('yes') %}
@type elasticsearch
host 127.0.0.1
port 9200
......@@ -407,7 +407,7 @@
</match>
<match *beat>
{% if elasticsearch_install|default(yes) %}
{% if elasticsearch_install|default('yes') %}
@type elasticsearch_dynamic
logstash_format true
logstash_prefix ${tag_parts[0]}
......@@ -440,7 +440,7 @@
</match>
<match netdata>
{% if elasticsearch_install|default(yes) %}
{% if elasticsearch_install|default('yes') %}
@type elasticsearch
host 127.0.0.1
port 9200
......@@ -475,7 +475,7 @@
</match>
<match **>
{% if elasticsearch_install|default(yes) %}
{% if elasticsearch_install|default('yes') %}
@type elasticsearch
logstash_format true
host 127.0.0.1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment