Hey all,
So i seem to be getting an issue similar to others on here.
Filebeats is running and so is logstash
I can telnet to localhost:5044
Filebeat.yml
#----------------------------- Logstash output --------------------------------
filebeat.prospectors:
# Each - is a prospector. Most options can be set at the prospector level, so
# you can use different prospectors for various configurations.
# Below are the prospector specific configurations.
- input_type: log
# Paths that should be crawled and fetched. Glob based paths.
paths:
- /Users/blupace/Applications/logstash-tutorial2.log
#output.logstash:
# The Logstash hosts
hosts: ["localhost:5044"]
first-pipeline.conf
input {
beats {
host => "localhost"
port => "5044"
}
}
# The filter part of this file is commented out to indicate that it is
# optional.
# filter {
#
# }
output {
stdout { codec => rubydebug }
}
2017/06/01 04:57:03.285362 single.go:140: ERR Connecting error publishing events (retrying): Get http://localhost:5044: read tcp 127.0.0.1:58277->127.0.0.1:5044: read: connection reset by peer
Im not sure why the connection keeps getting closed.
Running logstash 5.4.0
Running filebeat 5.4.0
Envioroment: Mac