diff --git a/roles/log-collector/templates/rsyslog-collector.conf.j2 b/roles/log-collector/templates/rsyslog-collector.conf.j2 index 923261c78f5f8f88a2c7e5c0d8ddd6b341fdb79b..42f301bef95868b69d94f33ae4f0b485896f237d 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="{")