Build a dashboard into the File Gate settings/admin page that turns the module's logged events into usage and security insight.

Metrics: gated download counts over time; mints vs. redemptions; denied/expired/tampered attempts (a security signal); top gated files; per-method breakdown; per-IP anomalies.

Data source: the structured log events File Gate already emits on the security and stats channel. A lightweight aggregate store, or querying dblog, feeds the dashboard.

Visualization: optionally integrate the Charts module (drupal/charts) for time-series/bar charts, kept optional — a graceful text/table fallback when it is absent, matching the gate-method plugin pattern. No hard dependency on the base module.

Placement: a "Dashboard" section on /admin/config/media/file-gate, complementing the gated-fields overview.

Comments

jmcerda created an issue. See original summary.

jmcerda’s picture

Version: 1.0.x-dev » 1.x-dev
Status: Active » Fixed

Fixed in 1.2.0.

https://www.drupal.org/project/file_gate/releases/1.2.0

Settings page dashboard aggregates mints, deliveries, denials, auth failures, per-method and top-file tables from the file_gate dblog channel when Database Logging is enabled. Table fallback — Charts not required.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

jmcerda’s picture

Version: 1.x-dev » 1.2.0

Fixed in 1.2.0.

https://www.drupal.org/project/file_gate/releases/1.2.0

Settings page dashboard aggregates mints, deliveries, denials, auth failures, per-method and top-file tables from the file_gate dblog channel when Database Logging is enabled. Table fallback — Charts not required.

jmcerda’s picture

Status: Fixed » Closed (fixed)

Closing as shipped in 1.2.0. (Was Fixed; closed now that the release is public.)