{% extends "base.html" %} {% block title %}User Activity Report - aiosyslogd{% endblock %} {% block content %}

User Activity Report

Analyze per-user per-app activity within a timeframe

Methodology: Messages matching the FTS5 query are bucketed by minute per user/appcat/app. Active minutes = distinct 1-minute buckets with matching traffic. Grouped by appcat with per-app breakdown. Only authenticated users (user="...") are included.

{% if error %} {% endif %} {% if report %}
Found {{ "{:,}".format(report.total_logs) }} matching logs in {{ "%.3f"|format(report.query_time) }}s. Window: {{ report.total_window_minutes }} min.
{% if report.users %}
{% for u in report.users %} {% endfor %}
User Activity Breakdown Total
{{ u.user }} {% for g in u.appcats %}
{{ g.appcat }} {{ g.total_minutes }}m {% for a in g.apps %} {{ a.app }}({{ a.minutes }}){% if not loop.last %}, {% endif %} {% endfor %}
{% endfor %}
{{ u.total_minutes }} / {{ report.total_window_minutes }}
{% else %}

No matching activity found. Try adjusting your query or timeframe.

{% endif %} {% elif not error %}

Enter an FTS5 query and time range, then click Analyze.

{% endif %} {% endblock %}