Usage: process_aws_logs.php -f 'path/to/log/location' [-h hostname] [-l logpath] [--maxdl=999] [--maxprocess=999] [--skipdl] [--dontdeletefromaws] [--dontdeletelocally] [--noarchive] [--skipdbload] [--skipsum] [--sumall] [--sumallpurge] [--maxmonth=YYYY-MM] The path is to existing logs or where to download them to. -h Designate the host name to use (default gets HTTP_HOST). -l Designate the log file to use (default logs to stdout). --maxdl Max number of files download from AWS (default is all). --maxprocess Max number of files to process at once (default is all). --skipdl Skip download of files from AWS (default is download). --dontdeletefromaws Do not delete the downloaded files from AWS (default is to delete them). --dontdeletelocally Do not delete the downloaded files after processing (default is to delete them). --noarchive Do not archive the zipped log files back to AWS (default is to archive). --skipdbload Do not load the log file info into database (default is to load). --skipsum Do not summarize and purge the log data from the database (default is to summarize). --sumall Summarize all data immediately without purging (overrides summarizing last month). --sumallpurge Summarize all data immediately with purging (overrides summarizing last month). --maxmonth Summarize until this month (use with sumall or sumallpurge).