summaryrefslogtreecommitdiffstats
path: root/kubernetes/log/components/log-logstash/resources/config/onap-pipeline.conf
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-10-04 13:55:30 +0000
committerGerrit Code Review <gerrit@onap.org>2021-10-04 13:55:30 +0000
commit86bd887da34ed388c648d1756258421da05b786a (patch)
treeef9257094dae6283976724e39ecb5c17176aeb5b /kubernetes/log/components/log-logstash/resources/config/onap-pipeline.conf
parent23c1fc145b00853fa6b0a87c42e494549c9e4ee8 (diff)
parent30ec390479c9b7eeeaa90f036be02162c29ae918 (diff)
Merge "[COMMON] Add and run pre-commit linters via tox"
Diffstat (limited to 'kubernetes/log/components/log-logstash/resources/config/onap-pipeline.conf')
-rw-r--r--kubernetes/log/components/log-logstash/resources/config/onap-pipeline.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/log/components/log-logstash/resources/config/onap-pipeline.conf b/kubernetes/log/components/log-logstash/resources/config/onap-pipeline.conf
index d6b0696b81..b224bf3173 100644
--- a/kubernetes/log/components/log-logstash/resources/config/onap-pipeline.conf
+++ b/kubernetes/log/components/log-logstash/resources/config/onap-pipeline.conf
@@ -92,14 +92,14 @@ filter {
if event.get("[mdcname]")
$num = event.get("[mdcname]").length
end
- if $num != 0
+ if $num != 0
until $i > $num do
if event.get("[mdcname]").at($i) and event.get("[mdcvalue]").at($i)
event.set(event.get("[mdcname]").at($i), event.get("[mdcvalue]").at($i))
end
$i=$i+1
end
- end
+ end
'
}
@@ -151,7 +151,7 @@ filter {
gsub => [
'message', ' = ', '=',
'message', '= ', '=null',
- 'message', '=\t', '=null ', #This null is followed by a tab
+ 'message', '=\t', '=null\t', #This null is followed by a tab
'message', '\t$', '\t'
]
}