{# R59.4 (Hani #1 2026-11-03): lines per day by class for 30 days, with the addresses blocked each day - a block that works one layer above shows as fewer Attack lines on the days after it. #} {% set days = lv.per_day %}
{{ fresh_tag("logs:per-day") }}Lines per day {% if days is none %}

Counting… open the page again in a moment.

{% elif not days %}

No lines yet.

{% else %}{% set top = (days|map(attribute='total')|max) or 1 %}{% set order = ('attack', 'unknown', 'device', 'expected', 'earlier') %} {% for d in days %}{% set x = loop.index0 * 12 + 1 %}{% set ns = namespace(y=60) %}{{ d.day }}: {{ d.total }} lines{% for k in order %}{% if d.classes.get(k) %}, {{ k }} {{ d.classes[k] }}{% endif %}{% endfor %}{% if d.blocks %} · {{ d.blocks }} blocked{% endif %}{% if d.pending %} · not summed yet{% endif %} {% if d.pending and not d.total %}{% endif %} {% for k in order %}{% set n = d.classes.get(k, 0) %}{% if n %}{% set h = [((n / top) * 56)|round(1), 0.6]|max %}{% set ns.y = ns.y - h %}{% endif %}{% endfor %} {% if d.blocks %}{% endif %}{% endfor %}

Attack Unknown Device Expected addresses blocked that day · from {{ days[0].day }} to {{ days[-1].day }}, the highest day {{ top }} lines. Hover a day for its numbers.

{% for d in days|reverse %}{% endfor %}
DayLinesAttackUnknownDeviceExpectedBlocked that day
{{ d.total if not (d.pending and not d.total) else 'not summed yet' }}{{ d.classes.get('attack', 0) }}{{ d.classes.get('unknown', 0) }}{{ d.classes.get('device', 0) }}{{ d.classes.get('expected', 0) }}{{ d.blocks }}
{% endif %}