Skip to content

Instantly share code, notes, and snippets.

@viezel
Created April 22, 2020 08:05
Show Gist options
  • Save viezel/f8cb094d64f9bc31142e694366eaa921 to your computer and use it in GitHub Desktop.
Save viezel/f8cb094d64f9bc31142e694366eaa921 to your computer and use it in GitHub Desktop.
Laravel Vapor - Cloudwatch insights logs
fields @timestamp, @message
# Lambda
| filter @message not like "START RequestId"
| filter @message not like "END RequestId"
| filter @message not like "REPORT RequestId"
# FPM
| filter @message not like "NOTICE: ready to handle connections"
| filter @message not like "NOTICE: fpm is running"
| filter @message not like "NOTICE: Terminating"
| filter @message not like "NOTICE: exiting, bye-bye!"
# Laravel Vapor bootstrap
| filter @message not like "Caching Laravel configuration"
| filter @message not like "Loaded Composer autoload"
| filter @message not like "Executing warming requests..."
| filter @message not like "Creating storage directory"
| sort @timestamp desc
| limit 400
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment