{% extends "base.html" %} {% block content %}

Combined VPN Sessions View

API Endpoints

Get combined data via API: /api/all-entries

Filter by gateway: /api/all-entries?gateway={{ selected_gateway }}

Filter by date range: /api/all-entries?start_date={{ start_date }}&end_date={{ end_date }}

Use default time (last 30 min): /api/all-entries?use_default_time

Search: /api/all-entries?search={{ search_term }}

Combined filters: /api/all-entries?gateway={{ selected_gateway }}&start_date={{ start_date }}&end_date={{ end_date }}&search={{ search_term }}

Note: For API calls, date/time must be in ISO format (YYYY-MM-DDThh:mm:ss)

Reset
{% for col in columns %} {% endfor %} {% for row in rows %} {% for col in columns %} {% endfor %} {% else %} {% endfor %}
{% if col.startswith('_') %} {{ col[1:] | capitalize }} {% else %} {{ col }} {% endif %}
{% if col == '_source_file' %} {{ row[col] }} {% elif col == '_timestamp' and row[col] %} {{ row[col].strftime('%Y-%m-%d %H:%M:%S UTC') }} {% else %} {% if row[col] is string %} {{ row[col].strip() }} {% elif row[col] is none %} {% else %} {{ row[col] }} {% endif %} {% endif %}
No matching logs found
{% endblock %}