https://github.com/osquery/osquery logo
Title
m

Matt K

11/26/2019, 8:26 PM
In Fleet: is there a way to query on the hostname of an endpoint when creating a new Label?
z

zwass

11/26/2019, 9:15 PM
Sure, use the
hostname
,
computer_name
, or
local_hostname
columns of the
system_info
table (https://osquery.io/schema/4.0.2#system_info).
m

Matt K

11/26/2019, 10:22 PM
system_info
table, perfect! thanks @zwass
f

FG

11/27/2019, 12:36 AM
just be careful on macos especially these three do not have to be the same value
3