abrejuin
(Antoine)
June 27, 2017, 10:58am
1
Hello,
After installed Metricbeat on a Windows server, I can get metricbeat logs in my elasticsearch.
Now, I want to import Metricbeat dashboards but I am failing with this error :
./import_dashboards -es "http://localhost:9200 " -i "idx-metricbeat-*" -k ".kibana-plm" -only-dashboards
Failed to set the mapping: Put http://localhost:9200/.kibana-plm/_mapping/search: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Then I cannot find Dashboard in my Kibana available through Apache in my configuration.
Thanks for your help
Best regards,
Antoine
exekias
(Carlos Pérez Aradros)
June 27, 2017, 1:40pm
2
Hi @abrejuin ,
Do you see any error in elasticsearch logs? It looks like the import dashboards script is getting a timeout while connecting to it
abrejuin
(Antoine)
June 27, 2017, 1:47pm
3
Hi,
Thanks for your reply.
I have just run again this command and nothing appears in log (standard log or depreciation log in /var/log/elasticserach).
abrejuin
(Antoine)
June 27, 2017, 1:58pm
4
If I don't stop the script, the script is still running:
./import_dashboards -es "http://localhost:9200 " -i "idx-metricbeat-*" -k ".kibana-plm" -only-dashboards
Failed to set the mapping: Put http://localhost:9200/.kibana-plm/_mapping/search: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Created temporary directory /tmp/tmp133676761
Downloading https://artifacts.elastic.co/downloads/beats/beats-dashboards/beats-dashboards-5.4.2.zip
Unzip archive /tmp/tmp133676761
Importing Kibana from /tmp/tmp133676761/beats-dashboards-5.4.2/filebeat
Importing Kibana from /tmp/tmp133676761/beats-dashboards-5.4.2/heartbeat
Importing Kibana from /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat
Import directory /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/66881e90-0006-11e7-bf7f-c9acc3d3e306.json
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/CPU-slash-Memory-per-container.json
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-Apache-HTTPD-server-status.json
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-Docker.json
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-MongoDB.json
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-Redis.json
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-cpu.json
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-filesystem-per-Host.json
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-filesystem.json
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-memory.json
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-network.json
Import dashboard /tmp/tmp133676761/beats-dashboards-5.4.2/metricbeat/dashboard/Metricbeat-overview.json
abrejuin
(Antoine)
June 27, 2017, 2:21pm
5
at the end, I have several times this eror
Error: Put http://localhost:9200/.kibana-plm/dashboard/Metricbeat-system-overview: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers). Response body:
monica
(Monica Sarbu)
June 27, 2017, 2:27pm
6
What version of Elasticsearch are you using?
abrejuin
(Antoine)
June 27, 2017, 2:34pm
7
My Elasticsearch version is 5.3.0
abrejuin
(Antoine)
June 28, 2017, 3:09pm
8
Hello
As I cannot import Metribeat sample, is it possible to take json file and try to create visualization with those json files ?
Thanks
Thank you for everyone's answers.
system
(system)
Closed
July 27, 2017, 3:32am
10
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.