pipelines.xml用于声明多个管道。

文件位置 

Logstash系列:pipelines.xml配置详解

文件Demo

- pipeline.id: id-logstash-varlog
  pipeline.workers: 2
  pipeline.batch.size: 8000
  pipeline.batch.delay: 10
  path.config: "/etc/logstash/conf.d/varlog.conf"
 

Logstash系列:pipelines.xml配置详解

id 管道名词

workers  处理线程数(Filter、Output使用)

batch.size  每个线程批处理大小

batch.delay  每个线程批处理事件最大等待时间(默认50ms)

 

参考

https://www.elastic.co/guide/en/logstash/7.2/logstash-settings-file.html

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-05
  • 2021-08-16
  • 2021-10-30
  • 2021-12-29
猜你喜欢
  • 2021-09-13
  • 2021-12-28
  • 2021-11-15
  • 2022-12-23
  • 2021-05-22
  • 2021-09-08
相关资源
相似解决方案