Hi Folks. Is it possible to have Labels dynamicall...
# kolide
e
Hi Folks. Is it possible to have Labels dynamically generated based off of queries? Currently, it seems that you need to create a Label, and then any host that returns anything from the query will be added to the Label. What I want is to have Labels be generated based on the results of a query. If the query returns 'A' on one host, than that host will be added to a Label titled 'A'. If the query returns 'B' on another host, then that host is added to Label 'B'.
z
That is not supported. Is your set of 'A', 'B', etc. finite?
e
yes
So I would need to manually create each label?
z
Well I'd automate it with fleetctl or the fleet API.
e
Sounds good, thanks!