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
logged_in_users
Users with an active shell on the system.
| Column | Type | Description |
|---|---|---|
| host | text | Remote hostname |
| pid | integer | Process (or thread) ID |
| registry_hive | text | HKEY_USERS registry hive Only available on Windows |
| sid | text | The user's unique security identifier Only available on Windows |
| time | bigint | Time entry was made |
| tty | text | Device name |
| type | text | Login type |
| user | text | User login name |
See the user currently logged in on the console of the computer.
SELECT user, type, tty from logged_in_users WHERE tty='console';