diff --git a/host/default.yaml b/host/default.yaml index 348409d..5e7c3b2 100644 --- a/host/default.yaml +++ b/host/default.yaml @@ -248,6 +248,12 @@ spec: collectorName: "journalctl-dmesg" command: "journalctl" args: ["--dmesg", "--no-pager", "-S", "7 days ago"] + - copy: + collectorName: "syslog" + path: /var/log/syslog + - copy: + collectorName: "syslog" # Copy the previous syslog file as well in case the current one is rotated + path: /var/log/syslog.1 # Docker logs for K8s Control Plane - run: collectorName: "docker-logs-apiserver"