DevOps Fixed Price

Ship Laravel Logs to CloudWatch in 2 Days with aws-cloudwatch-logger & Metric Filters

Posted 1 year ago  ·  0 proposals


Budget

$1,100.00

Level

MidLevel

Location

Australia

Posted

Sep 26, 2025

Proposals

0

Job Type

Fixed Price

Job Description

Problem you’re facing:

Your Laravel app writes daily laravel.log on disk; when a bug occurs you SSH into the server, tail -f the file and grep for errors. You have no central logs, no alerts, no metrics and no retention policy. Support team wants Slack alerts on ERROR level and daily CSV of 404 counts.

What I will do for you (step-by-step):

  • Create IAM role with CloudWatchLogsFullAccess and attach to EC2 instance profile.
  • Install aws-cloudwatch-logger package via Composer and publish config.
  • Add CloudWatch channel to config/logging.php (group=/laravel/prod, stream=app).
  • Configure monolog formatter to include request_id, user_id, memory_peak.
  • Create metric filter ERROR → namespace Laravel/Prod, metric ErrorCount.
  • Create metric filter 404 → metric NotFoundCount.
  • Add CloudWatch alarm ErrorCount > 10 in 5 min → SNS → Slack #ops.
  • Set 14-day retention on log group and export to S3 (parquet) for Athena.
  • Provide 1-page guide for adding custom metrics later.

Deliverables:

  • IAM role JSON, config/logging.php patch, .env example.
  • CloudWatch dashboard JSON (error rate, 404 count, memory peak).
  • Slack screenshot showing alert.
  • CSV export sample from Athena.

Business value:

Support team sees real-time errors in Slack; developers query logs via CloudWatch Insights without SSH; audit team gets 14-day retained logs for compliance.

Why choose me (MidLevel):

  • AWS Cloud Practitioner certified; 30+ CloudWatch integrations.
  • Average response <2 h; 7-day free support if alarms misfire.
  • Give you Terraform code if you want to replicate in staging.
Required Skills
About the Client
Michael O'Connor

Michael O'Connor

Client  ·  Australia

Related Jobs

Login as a freelancer to apply

Michael O'Connor

Michael O'Connor

Offline

Australia


Member Since
Aug 2025
Total Jobs Posted
5
Total Spent
$750.00

Cookies & Privacy Settings

We use cookies and similar technologies to make FEATMATE work, to secure your account, and to improve our services. Some cookies are strictly necessary and are always active. With your permission, we will also use optional cookies (such as analytics and marketing) to understand how our site is used and to personalize your experience. By clicking “Accept all”, you agree to the use of non-essential cookies as described in our Privacy & Cookie Policy. You can change or withdraw your consent at any time by clicking “Manage settings” or by using the cookie link in the footer.