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

Commit 0f0e200

Browse files
author
Chris Wiechmann
committed
Update BeatsInputPipeline.conf
1 parent f8db33e commit 0f0e200

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

logstash/pipelines/BeatsInputPipeline.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ filter {
1313
# Lookup versionCheck status at memcache
1414
memcached {
1515
hosts => "${MEMCACHED}"
16-
namespace => "versions_checked"
17-
get => { "versionCheck" => "[versionChecked]" }
16+
namespace => "version_status"
17+
get => { "versionCheck" => "[versionStatus]" }
1818
}
1919
# If the version has no yet checked, perform a lookup at API-Builder
20-
if !([versionChecked]) {
20+
if !([versionStatus]) {
2121
http {
2222
url => "${API_BUILDER_URL}/api/elk/v1/api/version/check"
2323
query => {
@@ -35,7 +35,7 @@ filter {
3535
hosts => "${MEMCACHED}"
3636
namespace => "version_status"
3737
ttl => "86400" # Don't validate the version again for almost ever (let's say the next 24 hours)
38-
set => { "[versionChecked]" => "versionCheck" }
38+
set => { "[versionStatus]" => "versionCheck" }
3939
}
4040
# Check if there is a configuration/version mismatch
4141
if([versionStatus][versionStatus]!="ok") {

0 commit comments

Comments
 (0)