From dab15c514fadd9d39b69eea10deed56c1e2d7664 Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Tue, 28 Apr 2020 14:58:52 +0100 Subject: [PATCH] Load the omhttp rsyslog module --- roles/log-collector/templates/rsyslog-collector.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/log-collector/templates/rsyslog-collector.conf.j2 b/roles/log-collector/templates/rsyslog-collector.conf.j2 index 923261c7..42f301be 100644 --- a/roles/log-collector/templates/rsyslog-collector.conf.j2 +++ b/roles/log-collector/templates/rsyslog-collector.conf.j2 @@ -40,6 +40,9 @@ template(name="TmplFile" type="list"){ # if elasticsearch is disabled, and loki is enabled, then we setup loki templates # if elasticsearch is enabled, but loki is also enabled, then only ES is enabled {% if enable_loki %} +module( + load="omhttp" +) template(name="lokiTemplate" type="list" ) { constant(value="{") -- GitLab