You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
System logs: copy search results to the clipboard #8227
Admins often need to share System logs search results in a support ticket or with an AI assistant. Today they must select the text with the mouse, which is error-prone with long results and loses the context: what was searched, where, in which time range, and whether the "Max lines" limit cut the results.
Proposed solution
Add a Copy button to each search view of the System logs page (one per view when the page is split). It copies plain text with:
core version (this information may be missing in the page current data model) and copy timestamp
search criteria: context (cluster, node or application), search query, regular expression on/off, mode, start/end date and time, timezone, max lines, Loki instance
counters, as in "Showing N of MAX lines from … to …"
api-cli run update-core --data '{"core_url":"ghcr.io/nethserver/core:3.24.1-dev.2","nodes":[1],"force":true}'
Copy:
The "Copy output" button is disabled before any search and while loading.
Dump search, Cluster context: the copy has the header (nodes with FQDN and core version, query, dates, Loki, result), then ----, then the lines shown on screen.
Node context lists only that node. Application context lists the instance, its version and its node.
Follow mode: the header has no dates and no max lines.
Change the form after a search without searching again: the copy keeps the filters of the search that ran.
Regression:
Dump and follow searches show logs as before.
The list-core-modules and list-nodes tasks run once, on the first search only. No error banner appears.
Setup: cluster with rl3 (Rocky 9, node 1, Loki) and dn4 (Debian 13, node 2). The UI was driven with a headless browser. The copied text was captured from the clipboard write, and task requests were counted.
Copy:
Disabled while loading: with the WebSocket replies delayed, the button is disabled during the search and enabled when the lines arrive. Before the first search the button is not shown at all, rather than disabled.
Dump search, Cluster context: the header lists both nodes with FQDN and core version, then query, regex flag, mode, dates, timezone, Loki instance, max lines and "showing 500 of 500 lines … (max lines reached)", then ----, then the lines.
Node context lists only that node. Application context lists the instance, its version and its node.
Follow mode: the header has no dates and no max lines.
Change the form after a search without searching again: the copy keeps the filters of the search that ran.
Regression:
Dump and follow searches show logs.
list-core-modules and list-nodes run once, on the first search only. A second search runs neither. No error banner.
Activity
feat(ui): copy system logs with search details (#1360)
stephdl commentedon Oct 26, 2026
QA
Image:
ghcr.io/nethserver/core:3.24.1-dev.2Copy:
----, then the lines shown on screen.Regression:
list-core-modulesandlist-nodestasks run once, on the first search only. No error banner appears.DavidePrincipi commentedon Nov 6, 2026
VERIFIED in core
3.24.1-dev.6Setup: cluster with rl3 (Rocky 9, node 1, Loki) and dn4 (Debian 13, node 2). The UI was driven with a headless browser. The copied text was captured from the clipboard write, and task requests were counted.
Copy:
----, then the lines.Regression:
list-core-modulesandlist-nodesrun once, on the first search only. A second search runs neither. No error banner.DavidePrincipi commentedon Nov 6, 2026
Released https://github.com/NethServer/ns8-core/releases/tag/3.25.0