Solutions
Device management
Remotely manage, and protect laptops and mobile devices.
Orchestration
Automate tasks across devices, from app installs to scripts.
Software management
Inventory, patch, and manage installed software.
Extend Fleet
Integrate your favorite tools with Fleet.
Customers
Stripe + Fleet
Stripe consolidates multiple tools with Fleet.
Foursquare + Fleet
Foursquare quickly migrates to Fleet for device management.
What people are saying
Stories from the Fleet community.
More
JD Strong
JD Strong
Labels in Fleet provide a powerful way to scope profiles to specific hosts. This guide will walk you through managing labels using the Fleet web UI. Labels can be created manually by selecting specific hosts or dynamically using queries or host vitals. Dynamic labels are applied to hosts that match either the query or the host vitals criteria, while manual labels are assigned to hosts you select.
To access and manage labels in Fleet, navigate to the Labels page by clicking on the user menu at the top right of the window, then selecting "Labels".
There are two ways to filter hosts by label:
From the Labels page: Hover over the row of the label whose hosts you want to see, select the "Actions" menu, and select "View all hosts" from the dropdown.
From the Hosts page: Select the "Filter by platform or label" drop-down menu, then select the label you want to filter by.
To add a new label:
To edit an existing label:
Update restrictions: To change the query or platforms a dynamic label targets, you must delete the existing label and create a new one. Once set, label queries and platforms are immutable.
Fleet also provides a REST API to manage labels programmatically. The API allows you to add, update, retrieve, list, and delete labels. Find detailed documentation on Fleet's REST API here.
fleetctl
Fleet's command line tool, fleetctl
will also allow you to list and manage labels. While managing labels with fleetctl
is beyond the scope of this guide, you can list all labels using the following command:
fleetctl get labels
Learn more about
fleetctl
CLI.
Using labels in Fleet enhances your ability to effectively manage and scope profiles to specific hosts. Whether you prefer to manage labels through the web UI or programmatically via the REST API, Fleet provides the flexibility and control you need. For more information on using Fleet, please refer to the Fleet documentation and guides.