Last active
August 29, 2015 13:57
-
-
Save asbestossupply/9399216 to your computer and use it in GitHub Desktop.
Logentries ElasticBeanstalk Configuration
This file contains 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
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
version at https://logentries.com/doc/amazon/ did not work for me out of the box due to lack of escaping