Skip to content

Instantly share code, notes, and snippets.

@zoellner
Created March 26, 2014 02:46
Show Gist options
  • Save zoellner/9776055 to your computer and use it in GitHub Desktop.
Save zoellner/9776055 to your computer and use it in GitHub Desktop.
Configure AWS Elastic Beanstalk to send syslog to loggly.com
#
# Install loggly.com on AWS Elastic Beanstalk
# Tested with node.js environment
# Save this file as .ebextensions/loggly.config
# Replace TOKEN and ACCOUNT with your own
# Deploy per normal scripts or aws.push.
#
commands:
01_loggly_dl:
command: wget -q -O /tmp/loggly.py https://www.loggly.com/install/configure-syslog.py
02_loggly_config:
command: su --session-command="python /tmp/loggly.py setup --auth TOKEN --account ACCOUNT --yes"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment