From dbab9197bd182281a13bd59613b8d3fed091745e Mon Sep 17 00:00:00 2001 From: Thomas Widhalm Date: Mon, 15 Jan 2024 16:07:54 +0100 Subject: [PATCH] Typo --- roles/beats/templates/filebeat.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/beats/templates/filebeat.yml.j2 b/roles/beats/templates/filebeat.yml.j2 index db724154..396917e6 100644 --- a/roles/beats/templates/filebeat.yml.j2 +++ b/roles/beats/templates/filebeat.yml.j2 @@ -17,7 +17,7 @@ filebeat.inputs: {% endif %} {% if beats_filebeat_log_inputs[input].fields is defined %} {% for field in beats_filebeat_log_inputs[input].fields %} - {{ field }}: {{ beats_filebeat_log_inputs['field'] }} + {{ field }}: {{ beats_filebeat_log_inputs[field] }} {% endfor %} {% endif %} {% endif %}