Exiting: 1 error: error making http request:

I am setting up metricbeat on a node with Kibana and Elasticsearch (coordinator role)
I have setup the kibana portion and it injected the dashboards but at the end of the run it still fails with

Exiting: 1 error: error making http request: Get http://localhost:5601/api/status: dial tcp 127.0.0.1:5601: connect: connection refused

ive setup the metricbeat.yml as (ive changed a few values)
setup.kibana:

Kibana Host

host: "es-kibana-node2.domain.domain.co.uk"
protocol: "https"
ssl.enabled: true
ssl.certificate_authorities: ["/etc/kibana/certs/ca.crt"]
ssl.key: /etc/kibana/certs/es-kibana-node2.key
ssl.certificate: /etc/kibana/certs/es-kibana-node2.crt

Despite this, it still keeps trying http://127.0.0.1:5601

Any suggestions as to why it is ignoring the host: or if i'm missing a setting?

from kibana.yml

server.name: "es-kibana-node2"
server.host: "es-kibana-node2.domain.domain.co.uk"

Thanks
Phil

found its the settings in the kibana-xpack.yml that was causing this headache

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