Using filebeat to pass log files to logstash error


(brian wong) #1

Hi I have setup both logstash and filebeat such that filebeat will send logs to localhost:5043 while logstash will listen for input on port 5043. However I keep getting the error
" ERR Connecting error publishing events ( retrying): dial tcp 127.0.0.1:5043: connectex: No connection could be made because the target machine actively refused it." What is the error that is causing this?


(Jymit Singh Khondhu) #2

Are you using 127.0.0.1 specifically? Do you have any sort of local proxy or firewall enabled?


(brian wong) #3

I configured filebeat to output to localhost:5043 and my lostash.json has been configured to listen for input from beats on port 5043. I tried disabling my firewall but it still give me the same result.


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.