after set configurations in "/etc/metricbeat/metricbeat.yml" and run the command "metricbeat setup -e" I got the following error:
" Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to https://elastic.mydomain.com:5601/api/status fails: fail to execute the HTTP GET request: Get "https://elastic.mydomain.com:5601/api/status": x509: certificate signed by unknown authority. Response: . "
(despite https://elastic.mydomain.com:5601/api/status working in browser and return JSON response)
so then, according this document I used "ssl.verification_mode: none" in config file. issue fixed and after run command "metricbeat setup -e" again, I got the following message:
"Index setup finished.
Loading dashboards (Kibana must be running and reachable)
but in elasticsearch i can't find out any data log or index and when I click "check data" in "Module status" section, got the error: "No data has been received from this module yet"
what's issue? what's the solution?