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