Fleet uses osquery tables to query operating system, hardware, and software data. Each table provides specific data for analysis and filtering.
time
Track current date and time in UTC.
Column | Type | Description |
---|---|---|
datetime | text | Current date and time (ISO format) in UTC |
day | integer | Current day in UTC |
hour | integer | Current hour in UTC |
iso_8601 | text | Current time (ISO format) in UTC |
local_timezone | text | Current local timezone in of the system |
minutes | integer | Current minutes in UTC |
month | integer | Current month in UTC |
seconds | integer | Current seconds in UTC |
timestamp | text | Current timestamp (log format) in UTC |
timezone | text | Timezone for reported time (hardcoded to UTC) |
unix_time | integer | Current UNIX time in UTC |
weekday | text | Current weekday in UTC |
win_timestamp | bigint | Timestamp value in 100 nanosecond units Only available on Windows |
year | integer | Current year in UTC |
View the timezone a system is configured in.
SELECT local_timezone FROM time;