When analyzing traffic statistics and reviewing reports in general, most useful type of access is exactly the insight in raw logs.However, storing large amount of data to process can be a hassle so, we have a feature which allows you to easily push gathered raw logs on previously defined time basis (1 hour, 12 hours, 1 day, 3 days).

Assuming you have S3 bucket called “pullzone_logs”, all you need to do is enable this feature under zone settings ($100 is added to your invoice if this feature is enabled):

  1. Enable Raw logs to S3

  2. Insert your bucket name, select S3 location, define prefix you wish to be used when saving logs (optional), select frequency (default one day) and define logs format per your need. Available parameters:

    bytes, cache_status, client_asn, client_city, client_continent, client_country, client_ip, client_latitude, client_longitude, client_state, hostname, method, pop, protocol, query_string, referer, scheme, status, time, uri, user_agent
    

  3. Now, what you need to do is to make sure proper permissions are set on Amazon S3 so we could access it and store the logs on your S3 bucket. Use the link at the bottom of this feature (Please click here to set up the proper Amazon S3 permissions) and it will open predefined access policy for S3 that you need to use (select all/copy):

  4. On the Amazon S3 side, open bucket properties and under “Permissions” select “Edit bucket policy”, popup window will show up where you need to paste previously copied policy from MaxCDN control panel:

  5. That is all! Your logs will be backed up on S3 bucket on timely based cycles with previously defined prefix.