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
file_contents
Allows reading an arbitrary file. The entire contents of the file are returned as a single row.
| Column | Type | Description |
|---|---|---|
| contents | text | Contents of the file |
| path | text | Path of the file to read. Required in WHERE clause |
Output the content of /etc/hosts.
SELECT * FROM file_contents WHERE path='/etc/hosts';See also file_lines for reading a file line by line.