Configuration elk stack

Hi all,
I try to solve my problem with Elasticsearch Unreachable: Connection refused, while loading data by using logstash.

Elasticsearch.yml:
network.host: 0.0.0.0
http:port: 9200

Kibana.yml:
elasticsearch.hosts: ["http: //localhost:9200"]
server.host: localhost

Logstash.yml:
xpack.monitoring.enabled: true
xpack.monitoring.elasticsearch.hosts: ["http://localhost:9200"]

After command: netstat -at

tcp 8 0 0.0.0.0:9200 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:http 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:9300 0.0.0.0:* LISTEN
tcp 0 0 localhost:9600 0.0.0.0:* LISTEN
tcp 0 0 localhost:5601 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5443 0.0.0.0:* LISTEN

Is my output for logstash correct?
output {
stdout {}
elasticsearch {
action => "index"
hosts => ["localhost:9200"]
index => "data_w"
document_type => "data_W"
}
}
Thanks!

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