Commit 407dc8ae authored by Franco Fichtner's avatar Franco Fichtner

suricata: fix previous; closes #1212

parent 8459b38f
......@@ -226,7 +226,7 @@ outputs:
# a line based alerts log similar to fast.log into syslog
- syslog:
enabled: {% if OPNsense.IDS.general.syslog|default('0') == '0' %}no{% else %}yes{% endif %}
enabled: {% if helpers.exists('OPNsense.IDS.general.syslog') and OPNsense.IDS.general.syslog|default('0') == '0' %}no{% else %}yes{% endif %}
# reported identity to syslog. If ommited the program name (usually
# suricata) will be used.
#identity: "suricata"
......@@ -740,7 +740,7 @@ logging:
enabled: yes
filename: /var/log/suricata.log
- syslog:
enabled: {% if OPNsense.IDS.general.syslog|default('0') == '0' %}no{% else %}yes{% endif %}
enabled: {% if helpers.exists('OPNsense.IDS.general.syslog') and OPNsense.IDS.general.syslog|default('0') == '0' %}no{% else %}yes{% endif %}
facility: local5
format: "[%i] <%d> -- "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment