Last active
December 10, 2015 21:48
-
-
Save garlandkr/4498095 to your computer and use it in GitHub Desktop.
logstash shipper skipping postfix/smtpd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
tcp { | |
port => 55514 | |
type => "jenkins" | |
format => json | |
} | |
} | |
filter { | |
grep { | |
match => [ "@message", "postfix" ] | |
negate => true | |
} | |
grep { | |
match => [ "@message", "Connection closed by 127.0.0.1" ] | |
negate => true | |
} | |
} | |
output { | |
stdout { | |
debug => true | |
debug_format => "json" | |
} | |
redis { | |
host => "127.0.0.1" | |
data_type => "list" | |
key => "logstash" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment