Filebeat setup. fail to create the Kibana loader

Please tell me, I don't know where to look.
When installing filebeat, I do:

filebeat setup -e -E output.logstash.enabled = false -E output.elasticsearch.hosts = ['remote_ip: 9200'] -E = remote_ip: 5601

I get:

Exiting: fail to create the Kibana loader: Error creating Kibana client: Error creating Kibana client: fail to get the Kibana version: HTTP GET request to / api / status fails: fail to execute the HTTP GET request: Get http://remote_ip:5601/api/status: dial tcp remote_ip:5601: connect: connection refused. Response:.

Filebeat setup:
host: "remote_ip:5601"

hosts: ["remote_ip:9200"]
username: "username"
password: "password!"

Why do you use the command line to override filebeat.yml values? Have you seen that you have a space between remote_ip: and 5601? Can you curl to those remote_ip from the filebeat machine? what's the output of those curls?

I suggest using cli overriding commands as an exception, as it's easy to write a typo.

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