eb6c4dbe55
RESEARCH FINDINGS: Consulted official InterWorx documentation to verify log paths: https://appendix.interworx.com/current/nodeworx/general/other/log-file-locations.html OFFICIAL InterWorx Log Structure: - HTTP logs: /home/{user}/var/{domain}/logs/transfer.log - HTTPS logs: /home/{user}/var/{domain}/logs/transfer-ssl.log PROBLEM: Bot-analyzer was only looking for "transfer.log" and missing all HTTPS traffic. This means SSL-enabled sites (which is most sites) were not being analyzed. IMPACT: - Missing analysis of HTTPS traffic - Incomplete bot detection for SSL sites - Underreporting of actual traffic and threats FIX APPLIED: Changed log search pattern from: log_search_name="transfer.log" To: log_search_name="transfer*.log" This now matches BOTH: - transfer.log (HTTP on port 80) - transfer-ssl.log (HTTPS on port 443) CHANGES: 1. Line 308: Updated search pattern to "transfer*.log" 2. Line 304-306: Added official documentation reference in comments 3. Line 325: Updated extraction comment for accuracy 4. Line 1813-1818: Updated find commands to use "transfer*.log" VERIFICATION: ✅ Syntax check passed ✅ Pattern matches both HTTP and HTTPS logs ✅ Domain extraction works for both log types (same path structure) ✅ All diagnostic features still work DOCUMENTATION ADDED: Added comment block with official InterWorx documentation URL and explicit file paths for future reference: ``` # InterWorx: Official docs from https://appendix.interworx.com/... # HTTP: /home/{user}/var/{domain}/logs/transfer.log # HTTPS: /home/{user}/var/{domain}/logs/transfer-ssl.log ``` RESULT: Bot-analyzer now analyzes COMPLETE InterWorx traffic (HTTP + HTTPS) instead of only HTTP traffic. Critical for accurate bot detection.