/Jamf-Log-Grabber

Finds logs and plists related to Jamf management settings

Primary LanguageShell

Jamf Log Grabber

Get all the logs you'll ever need

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 endpoint's desktop for upload to your service desk for troubleshooting.

Here's everything you'll be able to see

  • Jamf Binary Related Logs and plists: com.jamfsoftware.jamf.plist, Jamf.Log, Install.Log, System.logs
  • Jamf Connect Logs and Plists
  • Jamf Protect Plists
  • Jamf Remote Assist Reporting for most recent session and
  • App Installer Plists
  • MDM Communication Statuses
  • Recon Troubleshooting: Checks for files left behind during a Jamf Recon command and provides a file name for further investigation
  • Intune Logs for Device Compliance
  • 3 Custom apps to configure for your own log gathering

Features

  • Ready to deploy script with preset Jamf Pro Variables
  • Simplified Customization
  • Verbose results file for fast diagnostics

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 not found and the cleanup array removed the empty folder.