log_file Path to the Apache access log file.
start_time Start time (YYYY-MM-DD HH:MM:SS +ZZZZ).
end_time End time (YYYY-MM-DD HH:MM:SS +ZZZZ).
-h, --help show this help message and exit
--suspicious_count SUSPICIOUS_COUNT
python3 apache_log_analyzer.py /var/log/apache2/access.log '2025-04-16 06:45:00 +0000' '2025-04-16 07:15:00 +0000'
LogFormat "%{X-Forwarded-For}i %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
License: CDDL Version 1.1