Fix log-metric configuration

Fix incorrect if condition in log-metrics logstash configuration,
old if is no working with current version of logstash.

Change-Id: Ia43a5376b1e3074a70238056831797a21f41f269
This commit is contained in:
Adrian Czarnecki 2021-04-06 03:22:17 -07:00
parent dea6f95c15
commit 1b5cd30298
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ input {
filter {
# drop logs that have not set log level
if "level" not in [log] {
if ![log][level] {
drop { periodic_flush => true }
} else {
ruby {