在Windows 10上使用logstash 5.2.1版本時,我創建了一個配置文件並將其保存在與logstash相同的目錄中。然而,當我在命令行中我收到以下錯誤運行logstash -f logstash.conf:Logstash錯誤 - 找不到配置文件:logstash.conf。你能確保這個路徑是一個logstash配置文件嗎?
[LogStash::Runner] INFO logstash.agent - No config files found in path {:path=>"C:/logstash-5.2.1/bin/logstash.conf"} [LogStash::Runner] ERROR logstash.agent - failed to fetch pipeline configuration {:message=>"No config files found: logstash.conf. Can you make sure this path is a logstash config file?"}
我已經做了一些搜索和無法找到解決這個問題的解決方案。任何想法可能會導致這種情況?
謝謝!