logstash service: fix tests
This commit is contained in:
parent
77356690fb
commit
93132d1717
@ -19,8 +19,8 @@ import ./make-test.nix ({ pkgs, ...} : {
|
|||||||
exec { command => "echo dragons" interval => 1 type => "test" }
|
exec { command => "echo dragons" interval => 1 type => "test" }
|
||||||
'';
|
'';
|
||||||
filterConfig = ''
|
filterConfig = ''
|
||||||
if [type] == "test" {
|
if [message] =~ /dragons/ {
|
||||||
grep { match => ["message", "flowers"] drop => true }
|
drop {}
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
outputConfig = ''
|
outputConfig = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user