logstash service: fix tests

This commit is contained in:
Jaka Hudoklin 2015-09-06 15:19:52 +02:00
parent 77356690fb
commit 93132d1717

View file

@ -19,8 +19,8 @@ import ./make-test.nix ({ pkgs, ...} : {
exec { command => "echo dragons" interval => 1 type => "test" }
'';
filterConfig = ''
if [type] == "test" {
grep { match => ["message", "flowers"] drop => true }
if [message] =~ /dragons/ {
drop {}
}
'';
outputConfig = ''