Created
March 26, 2014 02:46
-
-
Save zoellner/9776055 to your computer and use it in GitHub Desktop.
Configure AWS Elastic Beanstalk to send syslog to loggly.com
This file contains hidden or 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
# | |
# 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