{# Tools › Logs (R7.2, Hani #1 2026-10-24): NEXXVU points the device's log at this Portal, and the device's log settings. #} {% from "_log_levels.html" import log_levels_form %} {% set lv = syslog_view %}{% set rc = lv.receiving or {} %}
Logs {% if lv.step == 'done' %}{% if rc.state == 'receiving' %} Receiving{% elif rc.state == 'waiting' %} Waiting for the first message{% elif rc.state == 'nothing' %} Nothing arrived{% else %} Quiet for over an hour{% endif %}{% endif %} {% if syslog_done %}
{{ syslog_done }}
{% endif %}{% if syslog_error %}{% endif %} {% set dev = 'node' if lv.pve else ('server' if lv.server else 'router') %} {% set ltab = 'device' if tool_return else (request.query_params.get('logs_tab') or 'device') %}{% if not tool_return %}{% endif %} {% if ltab == 'settings' %} {{ log_levels_form(lv.levels, lv.parent, '/inventory/assets/' ~ inventory.asset.id ~ '/syslog/settings', 'device', session.csrf_token, '/inventory/assets/' ~ inventory.asset.id ~ '/syslog/settings_reset', true) }} {% elif lv.windows %}{% set ws = lv.windows_state or {} %} {# R36.4 (Hani #1 2026-10-28): NEXXVU reads the Windows event log itself - no agent, no administrator account. #}

NEXXVU reads this device's Windows event log every minute with its read-only account (a member of Event Log Readers): warnings and errors of the System and Application logs, sign-ins and account changes of the Security log (failed and RDP sign-ins, lock-outs, accounts created, enabled, disabled or deleted, members added to groups, the log cleared), and SSH sign-ins with their address. Nothing is installed on the device. {{ fresh_tag("logs:windows") }}

{% if ws.enabled %}

{% if rc.state == 'receiving' %}Receiving last event {{ rc.last_at }}{% elif rc.last_at %}Quiet last event {{ rc.last_at }} - Windows logged nothing of the above since{% else %}Waiting for the first event{% endif %}{% if lv.error %} · last read failed: {{ lv.error }}{% endif %}

Open the log
{% if tool_return %}{% endif %}
{% else %}
{% if tool_return %}{% endif %}
{% endif %} {% elif lv.builtin %}

Built in: this Portal's own server sends its log to the Portal's receiver on the same server. NEXXVU sets it up with every update (its file /etc/rsyslog.d/61-nexxvu-portal.conf); nothing to configure here.

{% if rc.state == 'receiving' %}Receiving last message {{ rc.last_at }}{% elif rc.last_at %}Quiet last message {{ rc.last_at }}{% else %}Nothing arrived yet - it starts with the next update of this Portal.{% endif %}

Open the log

{% elif not lv.available %}

{{ lv.reason }}

{% if lv.system %}

This Portal's own server is set up by itself from its next update; or set it up now: add its SSH address under Tools › SNMP first.

{% endif %} {% else %} {% if lv.system %}

This Portal's own server: set up by itself from its next update. To start now, check and apply below with this server's sudo account.

{% endif %}
    {% for key, label in [('start', 'Check the ' ~ dev)] + ([('install', 'Install rsyslog')] if lv.server else []) + [('plan', 'Review changes'), ('done', 'Sending')] %}
  1. {{ label }}
  2. {% endfor %}
{% if lv.checks %}

Readiness check {{ fresh_tag("logs:red-hat") }}

{% endif %} {% if lv.step == 'start' %}
{% if tool_return %}{% endif %}

NEXXVU signs in to {{ lv.host }} with the {{ 'root or sudo' if lv.server else 'administrator' }} account, reads its log settings{{ ' (is rsyslog installed?)' if lv.server }} and shows exactly what it would change. Nothing is changed in this step. The account is kept in memory until you apply (at most 15 minutes) and never stored.

What the {{ dev }} sends{% for key, text in lv.level_names.items() %}{% endfor %}
{% if lv.server %}
How it sends {{ fresh_tag("logs:tls") }}
{% endif %}
{% elif lv.step == 'install' %}{% set p = lv.plan %}
Server
{{ p.identity or lv.host }} · {{ p.version }}
rsyslog
not installed
{% if lv.installing %}

Installing rsyslog on {{ p.identity or lv.host }}… this page follows by itself.

{% else %}{% if lv.install_error %}{% endif %}

What NEXXVU will run on the server (as root)

{{ p.install_command }}
{% if tool_return %}{% endif %}
{% endif %}
{% if tool_return %}{% endif %}
{% elif lv.step == 'plan' %}{% set p = lv.plan %}
{{ dev|capitalize }}
{{ p.identity or lv.host }} · {{ p.version }}
Sends to {{ fresh_tag("logs:approved-public-read") }}
{{ p.target }} UDP 514 (this Portal, as the {{ dev }} reaches it)
Sends
{{ lv.level_names[p.level] }}

Changes NEXXVU will make on the {{ dev }}

{% for line in p.changes %}{{ line }}
{% endfor %}
{% if tool_return %}{% endif %}
{% if tool_return %}{% endif %}
{% else %}{% set st = lv.setup %}
Sends to
{{ st.target }} UDP 514 · {{ lv.level_names.get(st.level, st.level) }}
Set up
{{ (st.applied_at or '')|replace('T', ' ')|replace('Z', ' UTC') }}
{% if st.server %}
Web access log
{% if st.web_logs %}{% for w in st.web_logs %}{% if w == 'cpanel-domlogs' %}cPanel: every domain's access log{% if st.domlogs %} ({{ st.domlogs }} domains){% endif %} {{ fresh_tag("logs:cpanel-domlogs") }} {{ fresh_tag("logs:cpanel-bytes") }} {{ fresh_tag("logs:cpanel-polling") }}{% else %}{{ w }}{% endif %}{{ ', ' if not loop.last }}{% endfor %} - read as security events (scanners, probes, unknown pages; one website per domain){% elif st.web_failed %}rsyslog did not accept the web log input; the server's own log is sent{% else %}none found (Caddy, nginx or Apache access log); set up again after adding one{% endif %}
{% endif %}
Last message
{% if rc.last_at %}{{ rc.last_at|replace('T', ' ')|replace('Z', ' UTC') }} · {{ rc.messages }} so far · from {{ rc.source_address }}{% else %}none yet{% endif %}
{% if rc.state == 'waiting' %}

Waiting for the {{ dev }}'s test message (the Portal reads what arrived once a minute)…

{% elif rc.state == 'nothing' %}

No message arrived in {{ 3 }} minutes. The {{ dev }} is configured, so the path is the likely cause: a router or firewall between it and {{ st.target }} blocks UDP 514{% if st.sends_from %}, or messages arrive from {{ st.sends_from }}{% endif %}. Settings › Logs lists senders that are not in the inventory.

{% endif %} {% set sid = 'syslog-' ~ inventory.asset.id %}
{% if rc.state != 'waiting' %}
{% if tool_return %}{% endif %} {{ fresh_tag("logs:retest") }}
{% endif %} {{ fresh_tag("logs:controls") }}
{% if rc.state != 'waiting' %}

Test again waits 3 minutes for any message from the {{ dev }} - after a firewall or router change. Nothing changes on the {{ dev }}.

{% endif %}
{% if tool_return %}{% endif %}

Check again or change what it sends

What the {{ dev }} sends{% for key, text in lv.level_names.items() %}{% endfor %}
{% if lv.server %}
How it sends {{ fresh_tag("logs:tls") }}
{% endif %}
{% if tool_return %}{% endif %}

Stop sending

{% endif %}{% endif %}