Skip to content

Instantly share code, notes, and snippets.

@gswallow
Created February 7, 2014 22:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gswallow/8872890 to your computer and use it in GitHub Desktop.
Save gswallow/8872890 to your computer and use it in GitHub Desktop.
# This file was created for hk01.qa1.indigobio.com
# by Chef
# Manual changes will be lost
input {
file {
'codec' => multiline {
'pattern' => "^[EI], \["
'negate' => "true"
'what' => "previous"
}
'path' => ["/var/scripts/ascent-housekeeper/current/script/ascent_housekeeper.log", "/var/scripts/ascent-housekeeper/current/script/ascent_housekeeper.output"]
'type' => "housekeeper"
}
}
filter {
if [type] == 'housekeeper_log' and [message] !~ /(.+)/ {
drop {
}
}
}
output {
redis {
'data_type' => "channel"
'host' => "10.120.18.90"
'key' => "logstash"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment