Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

beanstalk no log in cloudwatch

files:
  "/etc/awslogs/config/beanstalklogs.conf":
    mode: "000644"
    user: root
    group: root
    content: |
      [/var/log/eb-docker/containers/eb-current-app/stdouterr.log]
      log_group_name=/aws/elasticbeanstalk/EB-ENV-NAME/var/log/eb-docker/containers/eb-current-app/stdouterr.log
      log_stream_name={instance_id}
      file=/var/log/eb-docker/containers/eb-current-app/*stdouterr.log
      file_fingerprint_lines=1-20

commands:
  01_remove_eb_stream_config:
    command: 'rm /etc/awslogs/config/beanstalklogs.conf.bak'
  02_restart_log_agent:
    command: 'service awslogs restart'
Comment

PREVIOUS NEXT
Code Example
Shell :: shell script variables not working 
Shell :: install chef client centos 
Shell :: como agreagar archivo a .gitignore y eliminarlo del repositorio 
Shell :: mongodb container mongodump openshift 
Shell :: retour chariot avec echo bash 
Shell :: ubuntu terminal how to copy and move file 
Shell :: powerrshell adobject get all deleted 
Shell :: how to check docker-compose logs 
Shell :: sbt debian 
Shell :: readme generator homework 
Shell :: terminal codes 
Shell :: how to search for a directory in github 
Shell :: linux idle process 
Shell :: Terabyte 
Shell :: nasa-ingenuity-helicopter github 
Shell :: grep ignore lines 
Shell :: dash_install 
Shell :: how to disable suspend in ubuntu 20.04 
Shell :: bash script speichern from speed test in influxdb 
Shell :: microstack connect to mysql server 
Shell :: publish repositry 
Shell :: journalctl since 2 days ago 
Shell :: cpanel install jpegoptim 
Shell :: gnomestar 
Shell :: install lutris ubuntu 20.04 
Shell :: create a screen screen session tmux 
Shell :: can i create a branch inside of another branch in GIT 
Shell :: delelte snap install cmd 
Shell :: FingerprintAIO from ngx 
Shell :: Hay una opción git-merge seco-run 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =