Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPIKE - Explore what logs are available on AWS + Incubator #92

Closed
7 tasks done
JasonEb opened this issue Oct 26, 2023 · 3 comments
Closed
7 tasks done

SPIKE - Explore what logs are available on AWS + Incubator #92

JasonEb opened this issue Oct 26, 2023 · 3 comments
Assignees

Comments

@JasonEb
Copy link
Contributor

JasonEb commented Oct 26, 2023

Overview

As an Ops member, I'd like to know what logs does Incubator currently have. Once a good understanding of what's available, we then can document it better on Incubator or Ops' wiki.

Action Items

  • Explore

    • ELB
    • RDS
    • ECR
    • ECS
    • Cloudwatch
  • Record and share results

Resources/Instructions

@JasonEb JasonEb added feature: guide creation size: 1pt Can be done in 4-6 hours role: Site Reliability Engineer aka Infrastructure Engineer feature: monitoring Automated monitoring ready for refinement leadership is asking for changes. labels Oct 26, 2023
@JasonEb JasonEb added the good first issue Good for newcomers label Oct 26, 2023
@KazushiR KazushiR self-assigned this Nov 9, 2023
@github-project-automation github-project-automation bot moved this to New Issue Review in CoP: DevOps: Project Board Jun 27, 2024
@chelseybeck chelseybeck removed the ready for refinement leadership is asking for changes. label Jun 27, 2024
@chelseybeck chelseybeck moved this from New Issue Review to Prioritized Backlog in CoP: DevOps: Project Board Jun 27, 2024
@ale210
Copy link

ale210 commented Aug 28, 2024

Available logs:

  • ALB/ELB: When enabled, logs are published to s3 as gzip files for individual web requests. Within the gzip file, log entries appear as: https 2018-07-02T22:23:00.186641Z app/my-loadbalancer/50dc6c495c0c9188 192.168.131.39:2817 10.0.0.1:80 0.086 0.048 0.037 200 200 0 57 "GET https://www.example.com:443/ HTTP/1.1" "curl/7.46.0" ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2 arn:aws:elasticloadbalancing:us-east-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067 "Root=1-58337281-1d84f3d73c47ec4e58577259" "www.example.com" "arn:aws:acm:us-east-2:123456789012:certificate/12345678-1234-1234-1234-123456789012" 1 2018-07-02T22:22:48.364000Z "authenticate,forward" "-" "-" "10.0.0.1:80" "200" "-" "-" TID_123456
  • RDS: Normal logs for either MySQL or PostreSQL are exposed via RDS. They contain errors, open/closed connections, queries, etc. RDS logs can also be sent to cloudwatch.
  • ECR: Logging is available via cloudtrail for new image upload, security scanning results, etc
  • ECS: Docker logging can be configured to go into cloudwatch. Additionally, it may be possible via cloudtrail to get ECS events like failed deployments, etc

@ale210 ale210 self-assigned this Aug 28, 2024
@sudhara
Copy link
Member

sudhara commented Sep 12, 2024

per discussion with John (Food Oasis project), there are currently no logs for troubleshooting application issues - Heroku has ? logs that can be reviewed. DevOps team need to come up with a framework for various apps to do the application logging. ECS enable log could be an option to leverage in other projects.

@sudhara
Copy link
Member

sudhara commented Sep 19, 2024

closing this issue as the research work is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

6 participants