Fleet uses osquery tables to query operating system, hardware, and software data. Each table provides specific data for analysis and filtering.
routes
The active route table for the host system.
Column | Type | Description |
---|---|---|
destination | text | Destination IP address |
flags | integer | Flags to describe route |
gateway | text | Route gateway |
hopcount | integer | Max hops expected Only available on Linux and macOS |
interface | text | Route local interface |
metric | integer | Cost of route. Lowest is preferred |
mtu | integer | Maximum Transmission Unit for the route |
netmask | integer | Netmask length |
source | text | Route source |
type | text | Type of route |
Identify static routes
SELECT destination, interface, type FROM routes WHERE type='static';