elastic / beats

:tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash
https://www.elastic.co/products/beats
Other
12.17k stars 4.92k forks source link

*beat setup pipelines explicit modules should ignore activated modules #27802

Closed philippkahr closed 1 year ago

philippkahr commented 3 years ago

Beats and ES Version: 7.14.1 Beats on MacOS 11.5.1

Steps to reproduce

  1. Deploy Elasticsearch
  2. Configure filebeat without any modules activated
  3. Run ./filebeat setup
  4. Run ./filebeat setup --pipelines --modules cisco,nginx
  5. Delete the filebeat pipelines in Elasticsearch
  6. Run ./filebeat module enable system
  7. Run ./filebeat setup --pipelines --modules cisco,nginx
  8. DevConsole: GET _ingest/pipeline/filebeat-7.14.1-sy*

Expected behavior

Running ./filebeat setup --pipelines --modules .. should ignore any activated module in the modules.d directory and only load the explicit activated ones.

Screencast

https://user-images.githubusercontent.com/12175559/132518630-7a0b0405-6caa-4992-b054-2c6aa257e8f0.mov

elasticmachine commented 3 years ago

Pinging @elastic/agent (Team:Agent)

botelastic[bot] commented 2 years ago

Hi! We just realized that we haven't looked into this issue in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1. Thank you for your contribution!