When using fleetctl to generate a package it looks...
# fleet
v
When using fleetctl to generate a package it looks like the option --host_identifier can only be set to either uuid or instance, mapping to $FLEETCTL_HOST_IDENTIFIER and default is uuid. When looking at osquery flags there is this:
Copy code
--host_identifier=specified
which you can give a name to your endpoint via the flag
--specified_identifier
I tried setting these in a flag file but it did not work, and default uuid is still used. In Fleet UI, when looking at the host section, there are 3 columns: Host, Hostname and UUID. Is there a way to by-pass this so I can give the name I want to the endpoint where the agent is being installed? It can be in any of these 3 columns
l
Hi @Vinny ! fleetd currently supports
uuid
and
instance
. There's an open issue to add support for
hostname
and
specified
: #17622.
v
So, this means it is not possible at this moment, correct?
l
Do you have devices that have duplicate `uuid`s? (That's one of the reasons one would not use the default
--host_identifier=uuid
)
v
Sorry, I misread what you said. And no, I was trying to find a way of concatenating the hostname with a string of my choice so I could then apply labels matching the string in Fleet. If there is another way of doing it, let me know please