当前位置:网站首页>logstash报错:Cannot reload pipeline, because the existing pipeline is not reloadable

logstash报错:Cannot reload pipeline, because the existing pipeline is not reloadable

2022-07-01 12:34:00 zhangphil

logstash运行时报错:

Cannot reload pipeline, because the existing pipeline is not reloadable

如图:

发生以上错误的场景,是在启动logstash命令时候加入了 -r 参数:

logstash -r -f my_logstash.conf

一般情况启动logstash不需要 -r 参数。加入 -r 参数的目的是指示logstash每当my_logstash.conf配置文件发生改动时候就重新加载。

根因:input下面的stdin导致的。

解决方案:在my_logstash.conf配置文件中,input下面的stdin{}代码块,删掉或者注释掉即可:

input {
    #stdin{
    #}
}

原网站

版权声明
本文为[zhangphil]所创,转载请带上原文链接,感谢
https://zhangphil.blog.csdn.net/article/details/125447813