Verify your collectors have env attributes
Before you can target specific environments with a pipeline, each collector must have an env attribute set. In this milestone, you’ll check whether your collectors already have env values, and add them in bulk if they don’t.
If you’ve completed the Categorize a collector fleet learning path, your env attributes are already set — the first section is a quick verification check.
You must have administrator privileges to complete this learning path.
Click the Inventory tab.
Check the Attributes column. If your collectors already show
envvalues, you’re done with this section and can skip ahead to the next milestone. If any collectors are missingenvvalues, continue with the steps below to add the attribute.
Select the collectors you want to tag by checking their checkboxes.
Click Edit remote attributes to open the bulk edit dialog.
In the dialog, click Add remote attributes to expand and complete the form:
In the Key field, type
env.In the Value field, type the environment name, for example
dev.Click Apply changes to save the attribute to all selected collectors.
Repeat the selection and assignment for each environment group, using values such as
staging,prod-eu, andprod-usaccording to your deployment strategy. Once your collectors are tagged and ready, Fleet Management can use theenvattribute to target specific environments when assigning pipelines.
In the next milestone, you’ll roll out a pipeline to your development environment first.