{# plugins/syslog/templates/syslog/_around.html — an anomaly's syslog: the warnings and worse nearest its start, from the sources shown with its resource (#6002). Loaded when its "Syslog around it" is opened. #} {% from "syslog/_tone.html" import tone %} {% if not sources %}

No added syslog source is shown with this resource.

{% elif not lines %}

No warnings or worse from {% for s in sources %}{% if not loop.first %}, {% endif %}{{ s.name }}{% endfor %} from half an hour before to half an hour after.

{% else %} {% if sources|length > 1 %}{% endif %} {% for ln in lines %} {% if sources|length > 1 %}{% endif %} {% endfor %}
Received ({{ tz_label() }})SourceSeverityAppMessage
{{ ln.received_at|when(seconds=true) }}{{ ln.source }}{{ ln.severity }} {{ ln.app or "—" }} {{ ln.message }}
{% if more > 0 %}

{{ more }} more in that hour either side, further from its start: open the source to read them.

{% endif %} {% endif %}