AWS migration promotional banner
    Your
    Trusted
    Get Fully AWS Funded
    Cloud Migration

    How to use AWS ALB Logs

    πŸ”§ Step 1: Enable ALB Access Logging
    πŸ”’ Step 2: S3 Bucket Permissions
    🧠 Step 3: Create Athena Database and Table
    βœ… Create a Database
    CREATE DATABASE alb_logs;
    βœ… Create a Table for ALB Logs
    πŸ’» Step 4: Configure Athena Query Result Location
    πŸ” Step 5: Sample Queries
    Get all 4XX status requests:
    Top 10 most common 4XX URLs:

    Related Documentations