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

Mystery Incorporated

07/24/2021, 8:43 PM
Hi there, when fleet says features are trapped behind environment variables, do you mean like environment variables in the OS? Or is there some environment variables we can set in fleet? I can't find any documentation on setting the environment variable.
b

Benjamin Edwards

07/24/2021, 11:39 PM
hey George, can you provide a link? Not sure specifically what you are referencing.
At the very bottom of that link "Feature Flags"
Everything says to use a feature flag but provides no instructions on how we set a flag
t

Tomas Touceda

07/26/2021, 12:50 PM
Hi George, it means an environment variable. And as it mentions in that doc, the only feature flag we currently have is
FLEET_BETA_SOFTWARE_INVENTORY
m

Mystery Incorporated

07/26/2021, 2:50 PM
@Tomas Touceda I added that environment variable FLEET_BETA_SOFTWARE_INVENTORY=1 to /etc/environment on the Ubuntu server fleet is running on, restarted fleet, but there is no Software inventory visible
t

Tomas Touceda

07/26/2021, 2:58 PM
what version of fleet are you running?
you would need to relogin for the changes to take place if you want to set the env on that file
m

Mystery Incorporated

07/27/2021, 10:45 PM
@Tomas Touceda running fleet 4.0.1 and yep I rebooted machine and all still dont see anything for software inventory and when I echo the envvar I see 1 as I should
t

Tomas Touceda

07/28/2021, 1:26 PM
would you be able to share logs from a host so that we can check whether the query is getting there? also, we just released 4.1.0 which has a bunch of improvements in this part, in case you want to give it a try
m

Mystery Incorporated

08/01/2021, 11:21 AM
Ah I fail at slack and I only just saw this, coincidentally I have updated to 4.1 and so what logs would you like me to grab? The issue remains :(
t

Tomas Touceda

08/02/2021, 1:54 PM
osqueryd verbose logs would be helpful if you can share them
9 Views