In metricbeat.yml we have a setting,
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
In my orgnization port 5601 is no accessible from intranet.
Kibana is running behind ngnix, https://kibana-dp-dev.snm.syn.nesc.cmpn.net.
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 https://kibana-dp-dev.snm.syn.nesc.cmpn.net:5601/api/status fails: fail to execute the HTTP GET request: Get https://kibana-dp-dev.snm.syn.nesc.cmpn.net:5601/api/status: 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.