Created
June 29, 2020 13:27
-
-
Save SlootSantos/64bd6a65d91325d968f1ba4de698ed1a to your computer and use it in GitHub Desktop.
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
### BEGIN .ebextensions/logs.config | |
files: | |
"/etc/awslogs/config/stdout.conf": | |
mode: "000755" | |
owner: root | |
group: root | |
content: | | |
[docker-stdout] | |
log_group_name=/aws/elasticbeanstalk/StreamingTest-env/docker-stdout | |
log_stream_name={instance_id} | |
file=/var/log/containers/nginx-*-stdouterr.log | |
commands: | |
"00_restart_awslogs": | |
command: service awslogs restart | |
### END .ebextensions/logs.config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment