Horje
beanstalk no log in cloudwatch Code Example
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'




Shell

Related
config interface fortigate Code Example config interface fortigate Code Example
linux traverse all subdirectories and do action Code Example linux traverse all subdirectories and do action Code Example
Command to display a process running in windows powershell Code Example Command to display a process running in windows powershell Code Example
how to get rid of the start up screen on your pyinstaller .exe file Code Example how to get rid of the start up screen on your pyinstaller .exe file Code Example
how to move a file in bash Code Example how to move a file in bash Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13