Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit b143fcf

Browse files
author
Chris Wiechmann
committed
Update BeatsInputPipeline.conf
1 parent 26dfe80 commit b143fcf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

logstash/pipelines/BeatsInputPipeline.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ filter {
3737
ttl => "86400" # Don't validate the version again for almost ever (let's say the next 24 hours)
3838
set => { "[versionChecked]" => "versionCheck" }
3939
}
40+
# Check if there is a configuration/version mismatch
4041
if([versionStatus][versionStatus]=="error") {
4142
ruby {
4243
code => "
@@ -45,8 +46,9 @@ filter {
4546
"
4647
}
4748
}
49+
# Remove fields not used any further
4850
mutate {
49-
remove_field => [ "versionStatus" ]
51+
remove_field => [ "versionStatus", "filebeatVersion" ]
5052
}
5153
}
5254

0 commit comments

Comments
 (0)