Hi everyone. What is the supported way to control...
# fleet
Hi everyone. What is the supported way to control config locally but still register / send results to Fleet? Does this require shifting to the filesystem config_plugin and controlling all packs locally as well, or is there a way to still control packs and queries at Fleet, but the other config locally? More details below. We are testing how how we can set all osquery config at our clients and not have any centrally set at Fleet. For our test we removed these 3 lines from our osquery.flags file:
We still have the following in osquery.flags
I'm seeing some strange stuff in this test environment. The hosts will register to fleet, but if you refresh fleet UI, every 10 - 15 seconds or so the hosts will flap between offline and online. Additionally, we aren't logging ANY query results at fleet for these nodes even though we have a few simple ones scheduled. When I run osquery in debug on these nodes, I see the registration, but no decorators, options, packs or queries. I tried adding back in config_plugin=tls and then started to get a bunch of errors about enrolling too often.
Actually, I'm now thinking that controlling everything locally would require us to set all packs and queries in osquery.conf or in multiple files under osquery.conf.d since osquery.flags really just seems to be for daemon control and removeing the tls config plugin leaves us without queries and packs and using filesystem is going to require more than flags.
Yeah, I think you have that right. You can't have it both ways with config.
👍 1
Thanks Zach