I have installed kibana following the elastic guide and configured it to point to my two elastic node via elasticsearch.hosts: ["https://xx.xx.xx.xx:9200","https://xx.xx.xx.xx:9200"]. The only other settings i've changed are the server.host variable to the IP of the host and the elastic username and password to the kibana_system user.
However when starting i get this error, but unsure how to fix it:
Feb 16 10:48:14 kibana[29468]: DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version. Feb 16 10:48:14 kibana[29468]: at Object.connect (_tls_wrap.js:1619:15) Feb 16 10:48:14 kibana[29468]: at HttpsAgent.createConnection (https.js:129:22) Feb 16 10:48:14 kibana[29468]: at HttpsAgent.createSocket (/usr/share/kibana/node_modules/agentkeepalive/lib/_http_agent.js:26 5:26) Feb 16 10:48:14 kibana[29468]: at HttpsAgent.createSocket (/usr/share/kibana/node_modules/agentkeepalive/lib/agent.js:77:11) Feb 16 10:48:14 kibana[29468]: at HttpsAgent.addRequest (/usr/share/kibana/node_modules/agentkeepalive/lib/_http_agent.js:239: 10) Feb 16 10:48:14 kibana[29468]: at new ClientRequest (_http_client.js:306:16) Feb 16 10:48:14 kibana[29468]: at Object.request (https.js:313:10) Feb 16 10:48:14 kibana[29468]: at Object.request (/usr/share/kibana/node_modules/agent-base/patch-core.js:25:22) Feb 16 10:48:14 kibana[29468]: at HttpConnector.request (/usr/share/kibana/node_modules/elasticsearch/src/lib/connectors/http. js:182:23) Feb 16 10:48:14 kibana[29468]: at sendReqWithConnection (/usr/share/kibana/node_modules/elasticsearch/src/lib/transport.js:263 :35) Feb 16 10:48:14 kibana[29468]: at Object.utils.applyArgs (/usr/share/kibana/node_modules/elasticsearch/src/lib/utils.js:188:19 ) Feb 16 10:48:14 kibana[29468]: at wrapper (/usr/share/kibana/node_modules/lodash/lodash.js:5213:19) Feb 16 10:48:14 kibana[29468]: at processTicksAndRejections (internal/process/task_queues.js:75:11) Feb 16 10:48:14 kibana[29468]: at runNextTicks (internal/process/task_queues.js:62:3) Feb 16 10:48:14 kibana[29468]: at processTimers (internal/timers.js:494:9) Feb 16 10:48:14 kibana[29468]: Terminating process... Feb 16 10:48:14 systemd[1]: kibana.service: Main process exited, code=exited, status=1/FAILURE Feb 16 10:48:14 systemd[1]: kibana.service: Failed with result 'exit-code'. Feb 16 10:48:17 systemd[1]: kibana.service: Service hold-off time over, scheduling restart. Feb 16 10:48:17 systemd[1]: kibana.service: Scheduled restart job, restart counter is at 3. Feb 16 10:48:17 systemd[1]: Stopped Kibana. Feb 16 10:48:17 systemd[1]: kibana.service: Start request repeated too quickly. Feb 16 10:48:17 systemd[1]: kibana.service: Failed with result 'exit-code'. Feb 16 10:48:17 systemd[1]: Failed to start Kibana.