Skip to content
Snippets Groups Projects
Commit c3f1b644 authored by ale's avatar ale
Browse files

Fix enable_loki condition

parent 37fd3e4c
No related branches found
No related tags found
1 merge request!110Draft: Enable Loki as a replacement for Elasticsearch when `enable_loki` is set.
......@@ -227,7 +227,7 @@ ruleset(name="incoming"){
action(type="omfile" DynaFile="TmplFile")
{% endif %}
{% if not enable_elasticsearch and enable_loki %}
{% if enable_loki %}
# We shouldn't send loki logs to loki
if ($programname == "loki") then {
stop
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment