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 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