Retrieve Cluster Log Files

How to Get Logs from ZebClient Components in the Cluster

Using journalctl command directly on the target node

A user can also get the log file using journalctl command directly on the node i.e. agent0

Example:

sudo journalctl -u zebclient-agent -S yesterday --output=json > zebclient-agent.logs

The above command will get the zebclient-agent logs from yesterday in json format and save it in a file zebclient-agent.logs

Last updated