{# 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 %}| Received ({{ tz_label() }}) | {% if sources|length > 1 %}Source | {% endif %}Severity | App | Message |
|---|---|---|---|---|
| {{ ln.received_at|when(seconds=true) }} | {% if sources|length > 1 %}{{ ln.source }} | {% endif %}{{ ln.severity }} | {{ ln.app or "—" }} |
{{ more }} more in that hour either side, further from its start: open the source to read them.
{% endif %} {% endif %}