zpropheter / Jamf-Log-Grabber

Finds logs and plists related to Jamf management settings
48 stars 8 forks source link

Jamf Log Grabber

Get all the logs you'll ever need

LIMITATIONS:

This script is not intended for using to attach logs to a device record in Jamf Pro. Do not utilize such a workflow as it can lead to severe server performance issues

Jamf Log Grabber is a bash based script that can be deployed manually, via Jamf MDM Policy, or as a Self Service Tool. It creates a zip folder on the user's desktop for upload to your service desk for troubleshooting.

Supported Applications Include

Features

Installation

Download the latest copy of Jamf Log Grabber here

In Jamf Pro, paste the contents of the script in a new script payload under Settings> Computer Management> Scripts> +New

Click on Options and set the names for Parameters 4-9 as follows

Under Computers> Policies, create a new policy that contains the Jamf Log Grabber. If you want to get additional app logs, set the name and file path you want as seen below in the "Parameter Values" section

When the script is ran, there will be a folder with your app name and the logs inside as seen with DEPNotify in this example.

If you do not see your app folder, it is because the file was not found and the cleanup array removed the empty folder.