logstash port 5044 not binding, i tried to change port to 9066 in my client everything looks ok !!
2018-04-09T19:07:06.934-0300 DEBUG [prospector] log/prospector.go:168
Prospector states cleaned up. Before: 1, After: 1
2018-04-09T19:07:07.117-0300 ERROR pipeline/output.go:74 Failed to connec
t: Get http://10.2.3.65:9066: dial tcp 10.2.3.65:9066: connectex: No connection
could be made because the target machine actively refused it.
2018-04-09T19:07:07.118-0300 DEBUG [elasticsearch] elasticsearch/client.go:
666 ES Ping(url=http://10.2.3.65:9066)
2018-04-09T19:07:08.125-0300 DEBUG [elasticsearch] elasticsearch/client.go:
670 Ping request failed with: Get http://10.2.3.65:9066: dial tcp 10.2.3.65:
9066: connectex: No connection could be made because the target machine actively
refused it.
2018-04-09T19:07:14.475-0300 INFO [monitoring] log/log.go:124 Non-zero
metrics in the last 30s {"monitoring": {"metrics": {"beat":{"cpu":{"syst
em":{"ticks":515,"time":515},"total":{"ticks":2390,"time":2390,"value":2390},"us
er":{"ticks":1875,"time":1875}},"info":{"ephemeral_id":"2f8a0544-6148-4083-a3dd-
a803790b63cc","uptime":{"ms":4140069}},"memstats":{"gc_next":9617888,"memory_all
oc":4844824,"memory_total":74360696}},"filebeat":{"harvester":{"open_files":1,"r
unning":1}},"libbeat":{"config":{"module":{"running":0}},"pipeline":{"clients":1
,"events":{"active":4117,"retry":50}}},"registrar":{"states":{"current":2}}}}}
2018-04-09T19:07:16.936-0300 DEBUG [prospector] prospector/prospector.go
:124 Run prospector
2018-04-09T19:07:16.937-0300 DEBUG [prospector] log/prospector.go:147
Start next scan
All my configs files looks ok !! But 5044 port logstash don't work, i can't start it
First, what does the input section of your Logstash pipeline configuration look like? There should be a configuration for beats if the pipeline is attempting to set up a listener for Filebeat, and that configuration may include directives, which will tell Logstash how to listen for new connections (see also: Beats Input Plugin docs).
Second, when Logstash starts up, do its logs indicate that it successfully bound to the configured port? If so, can you connect to the bound port on the Logstash host?
nc -z localhost 9066
If so, can you connect to the Logstash host's external IP from the Logstash host machine? From the logs you pasted, I gather the Logstash host is 10.2.3.65, so that would be:
nc -z 10.2.3.65 9066
If so, can you connect to the Logstash host's external IP from the machine on which you have the Filebeat?
I have no answer from nc command, the same answer when i was using 5044 tcp port... I don't have a firewall on my network 'nd in my host fw is disable.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.