Solutions
Device management
Remotely manage, and protect laptops and mobile devices.
Orchestration
Automate tasks across devices, from app installs to scripts.
Software management
Inventory, patch, and manage installed software.
Extend Fleet
Integrate your favorite tools with Fleet.
Customers
Stripe + Fleet
Stripe consolidates multiple tools with Fleet.
Foursquare + Fleet
Foursquare quickly migrates to Fleet for device management.
What people are saying
Stories from the Fleet community.
More
Fleet uses osquery tables to query operating system, hardware, and software data. Each table provides specific data for analysis and filtering.
            Apple
            
              Linux
            
              Windows
            
              ChromeOS
            package_install_history
                    
                    
                    
                    
                 The package_install_history table provides a detailed log of all packages installled on macOS.
| Column | Type | Description | 
|---|---|---|
| content_type | text | Package content_type (optional) | 
| name | text | Package display name | 
| package_id | text | Label packageIdentifiers | 
| source | text | Install source: usually the installer process name | 
| time | integer | Label date as UNIX timestamp | 
| version | text | Package display version | 
Basic query:
SELECT name,package_id,version,source,datetime(time,'unixepoch') AS install_time FROM package_install_history WHERE install_time >= datetime('now','-7 days');This query fetches the following data for a macOS package:
The WHERE clause filters the results to show only packages installed in the past 7 days.
Monitoring the macOS package install history is useful for:
Apple’s installer package documentation