{# Log viewer (R7.4, Hani #1 2026-10-24): filters, newest first, live until paused; rows expand to the full message. #} {% set lv = log_view %}{% set f = lv.filters %}{% set res = lv.result %}
| {% endif %} | Time (UTC) {{ fresh_tag("logs:web-lines") }} | {% if lv.scope != 'device' %}Device | {% endif %}Level | Category | Class | From | To | Message | {% if is_admin %}Actions | {% endif %}
|---|---|---|---|---|---|---|---|---|---|
| {% if r.src_ip %}{% endif %} | {% endif %}{{ r.shown_at|replace('T', ' ')|replace('Z', '') }} | {% if lv.scope != 'device' %}{% if r.asset_id %}{{ r.device }}{% else %}{{ r.device }}{% endif %} | {% endif %}{{ r.level or '—' }} | {{ r.category }} | {{ lv.classes.get(r.life, r.life) }}{% if is_admin and r.asset_id and r.life in ('unknown', 'device') %} {% endif %} | {% if r.src_ip %}{{ r.src_ip }}{% if is_admin %}›{% endif %}{% if r.src_port %}:{{ r.src_port }}{% endif %}{% if is_admin %}{{ ai.inline(AIG.get(r.src_ip), r.src_ip, False) }}{% endif %}{% endif %}{% if r.src_mac %} {{ r.src_mac }}{% endif %}{% if r.in_iface %} {% endif %} | {% if r.dst_ip %}{{ r.dst_ip }}{% if is_admin %}›{% endif %}{% if r.dst_port %}:{{ r.dst_port }}{% endif %}{% endif %}{% if r.dst_mac %} {% endif %}{% if r.out_iface %} {% endif %}{% if r.protocol %} {% endif %} | {% if is_admin %}{% with address=r.src_ip, no_analyse=True %}{% include "_address_row_actions.html" %}{% endwith %} | {% endif %}
No messages for these filters yet.{% if lv.scope == 'device' %} If the device does not send its log yet, set it up under Tools › Logs.{% endif %}
{% if is_admin %}| Device | Program | Lines like | By | Remove |
|---|---|---|---|---|
| {{ n.device }} | {{ n.app_name or '—' }} | {{ n.sample }} | {{ n.created_by }} · {{ n.created_at[:10] }} |
None yet. Press Normal? on a line of a device to add one.
{% endif %}Select a row to see the whole message. Acting on messages - notices, blocking an address, if-then rules - follows in R8.