FEATMATE
DevOps Fixed Price

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

Posted 10 months 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
$70.00 Hourly Senior 1 year ago

We are seeking a Security Information and Event Management (SIEM) Analyst to set up and manage SIEM...

Log aggregation and analysis
View Job →
$70.00 Hourly MidLevel 1 year ago

We are seeking a Container Security Specialist to secure our containerized applications, ensuring ea...

Containerization technologies (e.g., Docker, Kubernetes)
View Job →
$75.00 Hourly Senior 1 year ago

We are looking for a DevSecOps Engineer to integrate security into every stage of our software devel...

CI/CD security and best practices
View Job →
$75.00 Hourly Junior 1 year ago

We are hiring a Microservices Security Consultant to implement and manage security protocols for our...

Microservices security
View Job →

Login as a freelancer to apply

Michael O'Connor

Michael O'Connor

Offline

Australia


Member Since
Aug 2025
Total Jobs Posted
5