{% extends "base.html" %} {% block content %}
Get log content via API: /api/log-content/{{ filename }}
Gateway: {{ gateway }}
Timestamp: {{ timestamp.strftime('%Y-%m-%d %H:%M:%S UTC') if timestamp else 'Unknown' }}
Filename: {{ filename }}
{{ col }} | {% endfor %}|||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ row.index }} | {% endif %} {% if 'User' in columns %}{{ row.user.strip() if row.user else "" }} | {% endif %} {% if 'Group' in columns %}{{ row.group.strip() if row.group else "" }} | {% endif %} {# VPN Login Users fields #} {% if 'Auth Type' in columns %}{{ row.auth_type.strip() if row.auth_type else "" }} | {% endif %} {% if 'Timeout' in columns %}{{ row.timeout.strip() if row.timeout else "" }} | {% endif %} {% if 'Auth-Timeout' in columns %}{{ row.auth_timeout.strip() if row.auth_timeout else "" }} | {% endif %} {% if 'From' in columns %}{{ row.from_ip.strip() if row.from_ip else "" }} | {% endif %} {% if 'HTTP in/out' in columns %}{{ row.http.strip() if row.http else "" }} | {% endif %} {% if 'HTTPS in/out' in columns %}{{ row.https.strip() if row.https else "" }} | {% endif %} {% if 'Two-factor Auth' in columns %}{{ row.two_factor.strip() if row.two_factor else "" }} | {% endif %} {# VPN Sessions fields #} {% if 'Source IP' in columns %}{{ row.source_ip.strip() if row.source_ip else "" }} | {% endif %} {% if 'Duration' in columns %}{{ row.duration.strip() if row.duration else "" }} | {% endif %} {% if 'I/O Bytes' in columns %}{{ row.io_bytes.strip() if row.io_bytes else "" }} | {% endif %} {% if 'Tunnel/Dest IP' in columns %}{{ (row.tunnel_dest_ip.strip() if row.tunnel_dest_ip else "") }} | {% endif %}
{{ raw_content }}{% endif %} {% endblock %}