claude: add a skill for reading fleet logs from VictoriaLogs #1483

Merged
JakeHillion merged 1 commits from jj/xmnrmsovktks into main 2026-12-03 19:19:05 +00:00
Owner

Agents read a host's logs by SSHing in and running journalctl, which
needs SSH access to every host they look at and an approval for each
command. On tmpfs hosts it also misses everything before the last
reboot.

A project skill points agents working in this repo at VictoriaLogs for
any question about a host's logs, including searches across the whole
fleet. LogsQL is unfamiliar, so it carries tested example queries for
the common cases and the field quirks that differ from journalctl, and
links the LogsQL reference for anything else.

Test plan:

  • Ran every example query against VictoriaLogs from this machine
  • Checked the field names against /select/logsql/field_names and
    systemd's unit messages for the UNIT field
Agents read a host's logs by SSHing in and running journalctl, which needs SSH access to every host they look at and an approval for each command. On tmpfs hosts it also misses everything before the last reboot. A project skill points agents working in this repo at VictoriaLogs for any question about a host's logs, including searches across the whole fleet. LogsQL is unfamiliar, so it carries tested example queries for the common cases and the field quirks that differ from journalctl, and links the LogsQL reference for anything else. Test plan: - Ran every example query against VictoriaLogs from this machine - Checked the field names against /select/logsql/field_names and systemd's unit messages for the UNIT field
JakeHillion scheduled this pull request to auto merge when all checks succeed 2026-12-03 19:11:24 +00:00
JakeHillion added 1 commit 2026-12-03 19:16:58 +00:00
claude: add a skill for reading fleet logs from VictoriaLogs
commit-validation / validate-single-commit (pull_request) Successful in 21s
buildbot/nix-eval Build done. (30 warnings)
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
50ed960491
Agents read a host's logs by SSHing in and running journalctl, which
needs SSH access to every host they look at and an approval for each
command. On tmpfs hosts it also misses everything before the last
reboot.

A project skill points agents working in this repo at VictoriaLogs for
any question about a host's logs, including searches across the whole
fleet. LogsQL is unfamiliar, so it carries tested example queries for
the common cases and the field quirks that differ from journalctl, and
links the LogsQL reference for anything else.

Test plan:
- Ran every example query against VictoriaLogs from this machine
- Checked the field names against /select/logsql/field_names and
  systemd's unit messages for the UNIT field
JakeHillion force-pushed jj/xmnrmsovktks from 6ff7f4dadf to 50ed960491 2026-12-03 19:16:58 +00:00 Compare
JakeHillion scheduled this pull request to auto merge when all checks succeed 2026-12-03 19:17:35 +00:00
JakeHillion merged commit 50ed960491 into main 2026-12-03 19:19:05 +00:00
JakeHillion deleted branch jj/xmnrmsovktks 2026-12-03 19:19:09 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: JakeHillion/nixos#1483