I am new with logstash, I am using logstash 1.5.4, and I am using filebeats to read files
and foward to logstash pipeline
I already installed filebeat input plugin, and started filebeat using systemctl.
and I started the filebeat process using filebeat -c /etc/filebeat/filebeat_test.yml
In the filebeat configuration yml file, I put logstash output section like this:
output:
logstash:
hosts: ["dev-elkstack2:5044"]
index: filebeat
I also wrote the logstash configuration file like the following, and the pipleline
input {
beats {
port => 5044
}
}
output {
stdout { codec => rubydebug }
}
but when I start the filebeats by
filebeat -c /etc/filebeat/filebeat_test.yml
it says:
beat.go:97: CRIT No outputs are defined. Please define one under the output section.
Could you tell me which part is wrong?