Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Running Papertrail in Elastic Beanstalk with multiple instances (hosts)
# Add an Environment Property of PAPERTRAIL_HOSTNAME and set the value to nextkillerapp-$HOSTNAME
command: "eval export PAPERTRAIL_HOSTNAME=$PAPERTRAIL_HOSTNAME && sed -i \"s/.*hostname:.*/hostname: $PAPERTRAIL_HOSTNAME/\" /etc/log_files.yml"
test: test -e /etc/log_files.yml
ignoreErrors: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.