Vinny
02/25/2025, 5:20 PMrefetch
I can see the name keep changing every second to a different name. We found out to be a Windows 2016 server running Hyper-V and the names showing up are the VMs running in it. Is there anything I need to do to avoid this, or is this a bug?Kathy Satterlee
02/25/2025, 8:09 PMKathy Satterlee
02/25/2025, 8:09 PMVinny
02/25/2025, 8:10 PMKathy Satterlee
02/25/2025, 8:12 PM--host-identifier instance
specified should clear that right up.Vinny
02/25/2025, 8:13 PMVinny
02/25/2025, 8:24 PMVinny
02/25/2025, 8:41 PMKathy Satterlee
02/25/2025, 8:50 PMIs it a bad idea to assign instance to all my hosts?I'd stick to VMs. For non-ephemeral hosts, you can end up with a host that isn't re-associated with the existing one if it needs to re-enroll later.
it is still behaving the same wayCan you walk me through what you did, step by step? The
instance
identifier is tied to the indidual osquery database on the host, so you definitely shouldn't see this behavior... Maybe with the VMs if they're all spun up from a base image that has the agent installed, but not with the actual metal host.Vinny
02/25/2025, 8:57 PMVinny
02/25/2025, 8:59 PMinstance
?Vinny
02/25/2025, 8:59 PMKathy Satterlee
02/25/2025, 10:40 PMPhillip Boushy
02/25/2025, 10:52 PMinstance
was created in osquery originally:
https://github.com/osquery/osquery/issues/2819#issuecomment-264519833
I ran into this when investigating how Fleet handles different installs on the same physical hardware.
NOTE - I'd recommend investigating why Hyper-V is giving you the same UUID for every host. There should be a way to change that. It can cause havoc with other tools.Kathy Satterlee
02/27/2025, 4:43 PMVinny
02/27/2025, 4:44 PMinstance
worked for the vm guestsVinny
03/07/2025, 7:10 PM--host-identifier instance
? VMs and not VMsKathy Satterlee
03/10/2025, 3:45 PMKathy Satterlee
03/10/2025, 3:46 PMinstance
identifier is tied to the osquery database rather than the host.Vinny
03/10/2025, 7:08 PMKathy Satterlee
03/10/2025, 8:43 PM