plus3it / cfn-gitlab

Use AWS CloudFormation to deploy GitLab onto STIG-hardened EL7 Amazon instances

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bolster CloudWatchLogs Config

ferricoxide opened this issue · comments

Problem Description:

CloudWatchLog does not currently monitor the GitLab application's log files

Expected Behavior:

CloudWatchLog should monitor the GitLab application's log files:

  • /var/log/gitlab/unicorn/unicorn_stdout.log
  • /var/log/gitlab/unicorn/unicorn_stderr.log
  • /var/log/gitlab/nginx/error.log
  • /var/log/gitlab/nginx/access.log
  • /var/log/gitlab/nginx/gitlab_error.log
  • /var/log/gitlab/nginx/gitlab_access.log
  • /var/log/gitlab/gitlab-rails/grpc.log
  • /var/log/gitlab/gitlab-rails/production.log
  • /var/log/gitlab/gitlab-rails/application.log
  • /var/log/gitlab/gitlab-rails/sidekiq.log

Actual Behavior:

CloudWatchLog does not currently monitor the GitLab application's log files

(Optional) Fix recommendation:

Update template's CWA log-config section to add the above logfiles.