-
Notifications
You must be signed in to change notification settings - Fork 36
Collecting Logs
This guide will help you collect logs for Harvest on various platforms. Follow the instructions specific to your platform. If you would like to share the collected logs with the Harvest team, feel free to email them to ng-harvest-files@netapp.com
.
For RPM, DEB, and native installations, use the following command to create a compressed tar file containing the logs:
tar -czvf harvest_logs.tar.gz -C /var/log harvest
This command will create a file named harvest_logs.tar.gz
with the contents of the /var/log/harvest
directory.
For Docker containers, first, identify the container ID for your Harvest instance. Then, replace <container_id>
with the actual container ID in the following command:
docker logs <container_id> &> harvest_logs.txt && tar -czvf harvest_logs.tar.gz harvest_logs.txt
This command will create a file named harvest_logs.tar.gz
containing the logs from the specified container.
For NABox installations, refer to the NABox documentation on collecting logs: