From a1a9cf3fdd0b8ce33fbaaa2f161d9445a1d35791 Mon Sep 17 00:00:00 2001 From: SebClem Date: Sun, 16 Jan 2022 13:37:10 +0100 Subject: [PATCH] Add space --- templates/vector.toml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/vector.toml.j2 b/templates/vector.toml.j2 index 7d74476..179b6d0 100644 --- a/templates/vector.toml.j2 +++ b/templates/vector.toml.j2 @@ -7,7 +7,6 @@ data_dir = "/var/lib/vector" enabled = true address = "0.0.0.0:8686" - {% set loop_helper = { "sources": (sources | default({})), "transforms": (transforms | default({})), @@ -16,6 +15,7 @@ address = "0.0.0.0:8686" {% for name, cat in loop_helper.items() | sort(attribute='0') %} {% for key, value in cat.items() | sort(attribute='0') %} + [{{ name }}.{{ key }}] {% if value %} {%- for skey, svalue in value.items() | sort(attribute='0') %}