Import dashboards sample

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

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

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).

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

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:

What version of Elasticsearch are you using?

My Elasticsearch version is 5.3.0

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.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.