@@ -52,7 +52,7 @@ pipeline:
5252 - fieldName : log.ciscoMsg
5353 pattern : ' {{.greedy}}'
5454 source : log.msg
55- where : ' (log.msg.contains(" -MSG:SLOT") == false ) && (log.msg.contains(" -MSG: SLOT") == false )'
55+ where : ' (!contains(" log.msg", " -MSG:SLOT")) && (!contains(" log.msg", " -MSG: SLOT"))'
5656 # Extracting subfacility if present
5757 - grok :
5858 patterns :
@@ -61,7 +61,7 @@ pipeline:
6161 - fieldName : log.severity
6262 pattern : ' {{.integer}}'
6363 source : log.severity
64- where : ' (log.msg.contains(" -MSG:SLOT") == false ) && (log.msg.contains(" -MSG: SLOT") == false )'
64+ where : ' (!contains(" log.msg", " -MSG:SLOT")) && (!contains(" log.msg", " -MSG: SLOT"))'
6565 # --------------------------
6666 # Variant -> %CARD-SEVERITY-MSG:SLOT %FACILITY-SEVERITY-MNEMONIC: Message-text
6767 - grok :
@@ -79,14 +79,14 @@ pipeline:
7979 - fieldName : log.ciscoMsg
8080 pattern : ' {{.greedy}}'
8181 source : log.msg
82- where : ' log.msg.contains(" -MSG:SLOT") || log.msg.contains( "-MSG: SLOT")'
82+ where : ' contains(" log.msg", " -MSG:SLOT") || contains(" log.msg", "-MSG: SLOT")'
8383
8484 - trim :
8585 function : prefix
8686 substring : ' %'
8787 fields :
8888 - log.tmpFacilityMnemonic
89- where : ' log.msg.contains(" -MSG:SLOT") || log.msg.contains( "-MSG: SLOT")'
89+ where : ' contains(" log.msg", " -MSG:SLOT") || contains(" log.msg", "-MSG: SLOT")'
9090 # %FACILITY-SEVERITY-MNEMONIC
9191 - grok :
9292 patterns :
@@ -97,7 +97,7 @@ pipeline:
9797 - fieldName : log.facilityMnemonic
9898 pattern : ' {{.data}}\:'
9999 source : log.tmpFacilityMnemonic
100- where : ' log.msg.contains(" -MSG:SLOT") || log.msg.contains( "-MSG: SLOT")'
100+ where : ' contains(" log.msg", " -MSG:SLOT") || contains(" log.msg", "-MSG: SLOT")'
101101 # Extracting subfacility if present
102102 - grok :
103103 patterns :
@@ -106,7 +106,7 @@ pipeline:
106106 - fieldName : log.severity
107107 pattern : ' {{.integer}}'
108108 source : log.severity
109- where : ' log.msg.contains(" -MSG:SLOT") || log.msg.contains( "-MSG: SLOT")'
109+ where : ' contains(" log.msg", " -MSG:SLOT") || contains(" log.msg", "-MSG: SLOT")'
110110
111111 # Cleaning common fields
112112 - trim :
0 commit comments