How to access Kibana APIs

Hi Team,

In metricbeat.yml we have a setting,

Kibana Host

Scheme and port can be left out and will be set to the default (http and 5601)

In case you specify and additional path, the scheme is required: http://localhost:5601/path

IPv6 addresses should always be defined as: https://[2001:db8::1]:5601

host: ""
username: "username"
password: "password"
protocol: "https"

In my orgnization port 5601 is no accessible from intranet.
Kibana is running behind ngnix,

When i run metribeat setup --dashboards in order to pull default dashboards on to Kibana, am getting below error.

Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to fails: fail to execute the HTTP GET request: Get dial tcp 10.129.594.201:5601: connect: connection refused. Response: .

in order to mitigate this problem i tried combination of urls like,

Direct HTTPs url:

Invoking ngnix with user name and password:

But both returns me below error,

is there a way to access Kibana APIs by dynamically passing username and password?
any help in correcting my configuration to pull metricbeat dashboard i smuch appreciated.

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