Remove an OTel Collector from Fleet
Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability This functionality is in technical preview and is ready for evaluation. Use with caution in production; it is not recommended for mission-critical workloads. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Specific Support terms apply. Serverless interfaces and procedures might differ from classic Elastic Stack deployments. The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability This functionality is in technical preview and is ready for evaluation. Use with caution in production; it is not recommended for mission-critical workloads. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Specific Support terms apply. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
Serverless
Preview
Preview
Stack
Preview
9.5+
Preview since 9.5
Remove an OpenTelemetry (OTel) Collector from the Fleet Agents list when you no longer want Fleet to track it.
You'll need:
- The Agents privilege set to
All. Refer to Fleet privileges. - An active collector in the Agents list. The remove action is unavailable for inactive collectors.
In Kibana, enter Fleet in the global search field, then select Fleet / Agents.
To remove a single collector, select Remove collector from its Actions menu, then confirm.
To remove several collectors at once, select them in the Agents list, then choose Remove N collectors from the bulk actions menu, where N is the number of selected collectors, and confirm.
Removing a collector removes it from the Agents list only. It doesn't stop the collector process, and its enrollment credentials stay valid, so a collector that's still running can reconnect and reappear in the list.
To stop a collector from reporting to Fleet, remove the opamp extension from its configuration and restart it.