Skip to content

Instantly share code, notes, and snippets.

@itsderek23
Created April 11, 2017 14:14
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 itsderek23/1afa70fd9b6dc396832567a4c284edc7 to your computer and use it in GitHub Desktop.
Save itsderek23/1afa70fd9b6dc396832567a4c284edc7 to your computer and use it in GitHub Desktop.
# cat /etc/node-logstash/plugins.conf.d/default.conf
filter {
compute_field {
field => shipper
value => 'scout-web-a-1'
}
}
input {
file {
path => '/home/deploy/apm/shared/log/production.log'
type => rails
}
file {
path => '/home/deploy/apm/shared/log/unicorn.log'
type => unicorn
}
}
output {
tcp {
host => 10.1.60.10
port => 5050
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment