I am trying to monitor kibana with Metricbeat kibana-xpack. But i am getting below log messages.
Jul 27 05:47:09 xxxxxxxxx metricbeat[149229]: 2021-07-27T05:47:09.110-0700#011ERROR#011[kibana.stats]#011stats/stats.go:79#011error making http request: Get "https://xxxxx.xxxxxx.com:5601/api/status": dial tcp x.x.x.x:5601: i/o timeout
below is the kibana-xpack.yaml configuration. What i am missing here?
- module: kibana
metricsets:
- stats
period: 10s
hosts: ["https://xxxx.xxxx.com:5601"]
username: "xxxxxx"
password: "xxxxx"
xpack.enabled: true
ssl.verification_mode: "certificate"
server.ssl.enabled: true
server.ssl.keystore.path: "/etc/kibana/ingeststart.pfx"
Below is the xpack configuration in Kibana.yaml
xpack.encryptedSavedObjects.encryptionKey: "abcdefghijklmnopqrstuvwxyz123456780"
xpack.security.encryptionKey: "abcdefghijklmnopqrstuvwxyz123456780"
monitoring.kibana.collection.enabled: false
monitoring.enabled: true