yahnis-elsts/wp-update-server-stats

Gather statistics from wp-update-server logs.

Installs: 310

Dependents: 0

Suggesters: 0

Security: 0

Stars: 46

Watchers: 5

Forks: 17

Open Issues: 2

Language:JavaScript

Type:project

v1.0.1 2018-08-01 08:26 UTC

This package is auto-updated.

Last update: 2024-10-09 04:12:38 UTC


README

Gathers statistics from wp-update-server logs and displays a bunch of pretty charts.

Installation using Composer

composer create-project yahnis-elsts/wp-update-server-stats

Requirements

PHP 5.6 or above with the SQLite extension.

Usage

Run update.php to analyse log files:

php update.php --dir "/path/to/wp-update-server/logs" --from-last-date

This will process all .log files in the specified directory and dump various statistics into an SQLite database. Initial processing can take a while. If your logs are very large, you can restrict analysis to a specific date range by using the --from and --to parameters. Run php update.php --help to see all available options.

After the process is complete, navigate to wp-update-server-stats/index.php in the browser to view the results.

Screenshots

Update stats