Merge "Fix log-metric configuration"
This commit is contained in:
commit
ef7d7d36d4
@ -29,7 +29,7 @@ input {
|
|||||||
filter {
|
filter {
|
||||||
|
|
||||||
# drop logs that have not set log level
|
# drop logs that have not set log level
|
||||||
if "level" not in [log] {
|
if ![log][level] {
|
||||||
drop { periodic_flush => true }
|
drop { periodic_flush => true }
|
||||||
} else {
|
} else {
|
||||||
ruby {
|
ruby {
|
||||||
|
Loading…
Reference in New Issue
Block a user