I have been trying to send the metrics of a linux server by means of metricbeat to the server where I have installed the elasticsearch and the kibana but I am getting the following error which I can not find solutions on the internet. I thank you in advance for your cooperation.
<Exiting: Failed to import index-pattern: Failed to load directory /usr/share/metricbeat/kibana/6/index-pattern:
error loading /usr/share/metricbeat/kibana/6/index-pattern/metricbeat.json: fail to execute the HTTP POST request: Post http://XXX.213.160.XX:5601/api/kibana/dashboards/import?force=true: net/http: request canceled (Client.Timeout exceeded while awaiting headers). Response:>