我是ELK的新手,我在运行logstash时遇到问题.我运行了以下链接https://www.elastic.co/guide/en/logstash/current/advanced-pipeline.html中定义的logatash
但是当运行filebeat和logstash时,它的show logstash成功运行在端口9600.在filebeat中它给出这样的
INFO过去30年没有非零指标
Logstash没有从filebeat获取输入.请帮助..
filebeat .yml是
filebeat.prospectors:
- input_type: log
paths:
- /path/to/file/logstash-tutorial.log
output.logstash:
hosts: ["localhost:5043"]
Run Code Online (Sandbox Code Playgroud)
我运行了这个命令sudo ./filebeat -e -c filebeat.yml -d"publish"
配置文件是
input {
beats {
port => "5043"
}
}
output {
stdout { codec => rubydebug }
}
Run Code Online (Sandbox Code Playgroud)
然后运行命令
1)bin/logstash -f first-pipeline.conf --config.test_and_exit - this gave warnings
2)bin/logstash -f first-pipeline.conf --config.reload.automatic -This started the logstash on port 9600
Run Code Online (Sandbox Code Playgroud)
之后我无法继续,因为filebeat给出了INFO
INFO过去30年没有非零指标
使用的ELK版本是5.1.2