From d2bc1a5523de9665145f372efa9219a116a3029d Mon Sep 17 00:00:00 2001 From: weslambert Date: Tue, 22 Nov 2022 07:24:54 -0500 Subject: [PATCH] Fix syntax error for 'ics' tag logic --- salt/filebeat/etc/filebeat.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/filebeat/etc/filebeat.yml b/salt/filebeat/etc/filebeat.yml index 10f80beea..fc9b4c44e 100644 --- a/salt/filebeat/etc/filebeat.yml +++ b/salt/filebeat/etc/filebeat.yml @@ -145,7 +145,7 @@ filebeat.inputs: dataset: {{ LOGNAME }} category: network processors: - {%- if LOGNAME is match('^bacnet*|^cip*|^cotp*|^dnp3*|^ecat*|^enip*|^modbus*|^opcua*'|^profinet*'|^s7comm*') %} + {%- if LOGNAME is match('^bacnet*|^cip*|^cotp*|^dnp3*|^ecat*|^enip*|^modbus*|^opcua*|^profinet*|^s7comm*') %} - add_tags: tags: ["ics"] {%- endif %} @@ -166,7 +166,7 @@ filebeat.inputs: category: network imported: true processors: - {%- if LOGNAME is match('^bacnet*|^cip*|^cotp*|^dnp3*|^ecat*|^enip*|^modbus*|^opcua*'|^profinet*'|^s7comm*') %} + {%- if LOGNAME is match('^bacnet*|^cip*|^cotp*|^dnp3*|^ecat*|^enip*|^modbus*|^opcua*|^profinet*|^s7comm*') %} - add_tags: tags: ["ics"] {%- endif %}