Because we like the default "failed logins" dashboard that auditbeat provides, in auditbeat.yml, we have setup.dashboards.enabled: true.
It worked fine and now that I've enabled HTTPS for kibana I'm facing some issues.
This is the current configuration for kibana output in auditbeat.yml:
setup.kibana:
host: "https://elk.companyname.net:5601"
username: "elastic"
password: "password"
In my browser, if I go to https://elk.companyname.net:5601 - I get kibana.
This is what I get when I start kibana:
ERROR instance/beat.go:958 Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to https://elk.companyname.net:5601/api/status fails: fail to execute the HTTP GET request: Get https://elk.companyname.net:5601/api/status: x509: certificate signed by unknown authority. Response: .
Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to https://elk.companyname.net:5601/api/status fails: fail to execute the HTTP GET request: Get https://elk.companyname.net:5601/api/status: x509: certificate signed by unknown authority. Response: .
It seems to not like the certificate. To secure kibana with HTTPS, I've used my company's .crt and .key.
Do I have anything missing? Is it possible to have dashboards go through Elasticsearch (since it seems to work)? Thanks ahead.