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.
Infrastructure as code
See every change, undo any error, repeat every success.
Extend Fleet
Integrate your favorite tools with Fleet.
More
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.
Infrastructure as code
See every change, undo any error, repeat every success.
Extend Fleet
Integrate your favorite tools with Fleet.
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
shell_history
A line-delimited (command) table of per-user .*_history data.
| Column | Type | Description |
|---|---|---|
| command | text | Unparsed date/line/command history line |
| history_file | text | Path to the .*_history for this user |
| time | integer | Entry timestamp. It could be absent, default value is 0. |
| uid | bigint | Shell history owner |
SELECT * FROM users CROSS JOIN shell_history USING (uid);See command line executions and related timestamps. Useful for threat hunting when a device is suspected of being compromised.
SELECT u.username, s.command, s.time FROM users u CROSS JOIN shell_history s USING (uid);users table. Learn more