比如在 pipelines.yml 中有下面这样配置:
- {pipeline.id: test1, path.config: 'D:\data\logstash\t1.conf', pipeline.workers: 1}
- {pipeline.id: test2, path.config: 'D:\data\logstash\t3.conf', pipeline.workers: 1}
如果想要停止其中的 test2 的任务,应该怎么办呢?
笨办法就是停止 logstash,删除 test2 的配置,启动 logstash。但是这样对别的任务又会造成影响。
希望能在不重启 logstash 的情况下实现停止指定任务。