{% if log_notice %}
{% if log_dashboard.level_rows %}
{% endif %}
{% if log_dashboard.file_rows %}
{% endif %}
{% if log_error %}
{{ log_notice }}
{% endif %}{% translate "Operational logs dashboard" %}
{% translate "Tracked files" %}
{{ log_dashboard.total_files }}
{% translate "Total lines" %}
{{ log_dashboard.total_lines }}
{% translate "Recommended aggregator" %}: {{ recommended_stack.name }} — {{ recommended_stack.summary }}
{% translate "Aggregator integration status" %}: {{ observability_status.status_label }}
{{ observability_status.status_help }}
{% if observability_status.grafana_url %} {% endif %}| {% translate "Level" %} | {% translate "Count" %} |
|---|---|
| {{ row.level }} | {{ row.count }} |
| {% translate "File" %} | {% translate "Lines" %} | {% translate "Warnings" %} | {% translate "Errors" %} | {% translate "Critical" %} | {% translate "Last updated" %} |
|---|---|---|---|---|---|
| {{ row.name }} | {{ row.line_count }} | {{ row.recent_warning }} | {{ row.recent_error }} | {{ row.recent_critical }} | {{ row.last_updated|default:'-' }} |
{{ log_error }}
{% endif %} {% if selected_log and not log_error %} {% blocktranslate with name=selected_log asvar viewer_heading %}Viewing {{ name }}{% endblocktranslate %} {% translate 'Log copied to your clipboard.' as copy_success %} {% translate 'Copy failed. Use your browser copy command instead.' as copy_error %} {% translate 'Copy to clipboard' as copy_label %} {% if log_last_updated or log_full_path %} {% endif %} {% with encoded_log=selected_log|urlencode %} {% with download_url="?log="|add:encoded_log|add:"&download=1" %} {% with viewer_prefix="system-log" viewer_wrapper_class="" viewer_heading=viewer_heading log_filename=selected_log log_download_url=download_url log_content=log_content copy_label=copy_label copy_success=copy_success copy_error=copy_error copy_status_class="log-viewer-status" copy_button_class="button button-secondary log-viewer-copy-button" content_class="log-viewer-content" hide_limit_slider=hide_limit_slider %} {% include "includes/log_viewer.html" %} {% endwith %} {% endwith %} {% endwith %} {% endif %}