While we are doing POC,i am getting following error when starting up WinlogBeat on remote Host.Following is my ELK stack version info.Would really appreciate your help.
2019-08-05T14:37:53.190+0800 ERROR instance/beat.go:877 Exiting: error c
onnecting to Kibana: fail to get the Kibana version: HTTP GET request to http://
localhost:5601/api/status fails: fail to execute the HTTP GET request: Get http: //localhost:5601/api/status: dial tcp [::1]:5601: connectex: No connection could
be made because the target machine actively refused it.. Response: .
Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET re
quest to http://localhost:5601/api/status fails: fail to execute the HTTP GET re
quest: Get http://localhost:5601/api/status: dial tcp [::1]:5601: connectex: No
connection could be made because the target machine actively refused it.. Respon
se: .
Just to add on ,ELK stack & Syslog-ng being setup on RHEL-7.5,the remote host where we installed winlogbeat running on Windows 2012.
In order to access KIbana,the URL http://localhost:5601doesn't work,it works only with IP.
The error you are getting is due to Kibana not being reachable on localhost:5601. Are you sure you configured setup.kibana.host correctly? If Winlogbeat is on a remote host (not on the same host as Kibana is), you need to change the value in this option.
localhost is a hostname which refers to the host Winlogbeat runs on. You are seeing the error because Kibana is not running on the same machine as Winlogbeat does.
Just use the IP address of the machine which runs Kibana. Or is there another issue?
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.