aiosyslogd Log Viewer

SQLite Log Search Interface

Advanced Filters

{% set toggle_sql_args = request.args.to_dict() %} {% if show_sql %} {% do toggle_sql_args.update({'show_sql': '0'}) %} Hide Executed SQL {% else %} {% do toggle_sql_args.update({'show_sql': '1'}) %} Show Executed SQL {% endif %}
{% if show_sql and debug_query %}

Executed SQL Query

{{ debug_query }}
{% endif %} {% if total_logs is not none %}
Found {{ "{:,}".format(total_logs) }} matching logs {% if query_time is not none %} in {{ "%.3f"|format(query_time) }}s. {% endif %}
{% endif %} {% if error %} {% elif logs %}
{% for log in logs %} {% endfor %}
ID Received At From Host Message
{{ log.ID }} {{ log.ReceivedAt.strftime('%Y-%m-%d %H:%M:%S') }} {{ log.FromHost }} {{ log.Message }}
{% else %}

No logs found. Try adjusting your search.

{% endif %}
{% if logs and page_info.prev_last_id %} {% set prev_args = request.args.to_dict() %} {% do prev_args.update({'last_id': page_info.prev_last_id, 'direction': 'prev'}) %} Previous {% endif %}
{% if page_info.has_next_page %} {% set next_args = request.args.to_dict() %} {% do next_args.update({'last_id': page_info.next_last_id}) %} Next {% endif %}