Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 561 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 561 Bytes

GoAccess Script

GoAccess cron script and config file.

  • Downloads logs from webhost via rsync
  • Combines log files into one file for processing
    • The number of logs to combine is a command line argument
    • If the webhost rotates the logs each day this sets the number of days to process
    • The same script can be used to generate different report time frames
  • Generates the report (times converted to UTC)
  • Uses a custom config file to simplify the options passed to GoAccess
  • Uploads the report back to the webhost via rsync