{% extends "base.html" %} {% block title %}Logs{% endblock %} {% block content %}

Logs

Log lines shipped by the server agents: search, filter, tail live, export. {{ stats.total }} lines in the last 24 h · {{ stats.error }} errors · {{ stats.warn }} warnings · keeping up to {{ '{:,}'.format(plan_cap) }} lines on your plan.

Export CSV
{% if not shipping and not rows %}
No server ships logs yet. Open a server → Alert rulesLogs & inventory and add file paths (e.g. /var/log/nginx/error.log) or journal units (e.g. nginx, sshd). Agent 1.2+ tails them and lines appear here within a minute.
{% endif %}
{% for r in ranges %}{% endfor %}
{% for l in levels %}{% endfor %}
{% if f.q or f.level or f.file or f.server_id %}Clear{% endif %}
{% with rows = rows|reverse|list %}{% include "_log_rows.html" %}{% endwith %} {% if not rows %}
No log lines match{% if f.q %} “{{ f.q }}”{% endif %} in the last {{ f.range }}.
{% endif %}
{{ rows|length }} line{{ 's' if rows|length != 1 }} shown{% if rows|length >= 200 %} (newest 200){% endif %} {% if rows|length >= 200 %}Load older{% endif %}
{% endblock %} {% block scripts %} {% endblock %}