Access node logs from CLI/API

How do I access a node’s deployment log from the CLI (or API)?

I want to search through the installation logs of a set of nodes without having to do it in the UI.

As per https://docs.maas.io/2.5/en/installconfig-syslog node logs are sent via syslog, and aggregated on the rack controller and then region controller, if you can SSH to those machines, then you can use grep and friends to look through them.

I figured out how to do it using node-results.

maas node-results read system_id=$SYSTEM_ID name=/tmp/install.log

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.