Skip to content

Instantly share code, notes, and snippets.

@asbestossupply
Last active August 29, 2015 13:57
Show Gist options
  • Save asbestossupply/9399216 to your computer and use it in GitHub Desktop.
Save asbestossupply/9399216 to your computer and use it in GitHub Desktop.
Logentries ElasticBeanstalk Configuration
commands:
01edit-rsyslog-conf:
command: echo '$template LogentriesFormat,\"TOKEN %HOSTNAME% %syslogtag%%msg%\\n\"' >> /etc/rsyslog.conf
02add-second-line:
command: echo '*.* @@api.logentries.com:10000;LogentriesFormat' >> /etc/rsyslog.conf
03restart-syslog:
command: service rsyslog restart
@asbestossupply
Copy link
Author

version at https://logentries.com/doc/amazon/ did not work for me out of the box due to lack of escaping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment