我创建一个配置并保存在logstash的bin目录,并想用配置文件我付出CMD像这样在Windows 32logstash配置文件执行错误?
C:\Users\5897852\Desktop\logstash-5.1.1\bin>logstash -f "C:\Users\5897852\Desktop\logstash-5.1.1\bin\logstash.conf"
我有这样的错误:
[2016年-12-29T17:51:47,591] [INFO] [logstash.agent]没有配置 路径中找到的文件 {:path =>“C:/Users/571952/Desktop/logstash-5.1.1/bin/logstash。 conf“} [2016-12-29T17:51:47,607] [错误] [logstash.agent]失败 提取管道配置{:message =>”No config fil es found: C:\ Users \ 571952 \ Desktop \ logstash-5.1.1 \ bin \ logstash.conf。
你能确保这条道路是logstash配置文件?“}
你的conf的外观如何?当你执行它时,你确定你有确切的conf文件名吗? – Kulasangar
是的,我创建logstash.config并保存在bin目录logstash-5.1.1 – Seeker
其实logstash.conf文件中的代码是错误的,这就是为什么它显示错误 – Seeker