Hi I'm trying to install Metric dashboard its my first time trying this
Downloaded .zip beats tried still by defaults its taking to https://artifacts.elastic.co/downloads/beats/beats-dashboards/beats-dashboards-5.1.1.zip
tried to edit script looks like import_dashboards is not human readable
[root@elk-cclab38 metricbeat]# ./scripts/import_dashboards /root/beats-dashboards-master.zip
fail to set the mapping. Error: Put http://127.0.0.1:9200/.kibana/_mapping/search: dial tcp 127.0.0.1:9200: getsockopt: connection refused
Create temporary directory /tmp/tmp813730817
Downloading https://artifacts.elastic.co/downloads/beats/beats-dashboards/beats-dashboards-5.1.1.zip
^C
[root@elk-cclab38 metricbeat]#
https://www.elastic.co/guide/en/beats/libbeat/master/import-dashboards.html
[root@elk-cclab38 metricbeat]# ./scripts/import_dashboards -file /root/beats-dashboards-5.1.1.zip
fail to set the mapping. Error: Put http://127.0.0.1:9200/.kibana/_mapping/search: dial tcp 127.0.0.1:9200: getsockopt: connection refused
Create temporary directory /tmp/tmp964028833
Unzip archive /tmp/tmp964028833
/tmp/tmp964028833/beats-dashboards-5.1.1/filebeat
/tmp/tmp964028833/beats-dashboards-5.1.1/heartbeat
/tmp/tmp964028833/beats-dashboards-5.1.1/metricbeat
Import directory /tmp/tmp964028833/beats-dashboards-5.1.1/metricbeat/index-pattern
Import index to /.kibana/index-pattern/metricbeat-* from /tmp/tmp964028833/beats-dashboards-5.1.1/metricbeat/index-pattern/metricbeat.json
ERROR: couldn't load json. Error: Put http://127.0.0.1:9200/.kibana/index-pattern/metricbeat- : dial tcp 127.0.0.1:9200: getsockopt: connection refused
fail to import index-pattern: fail to load directory /tmp/tmp964028833/beats-dashboards-5.1.1/metricbeat/index-pattern: error loading /tmp/tmp964028833/beats-dashboards-5.1.1/metricbeat/index-pattern/metricbeat.json: couldn't load json. Error: Put http://127.0.0.1:9200/.kibana/index-pattern/metricbeat- : dial tcp 127.0.0.1:9200: getsockopt: connection refused
[root@elk-cclab38 metricbeat]#
I think i figured out
[root@elk-cclab38 metricbeat]# ./scripts/import_dashboards -file /root/beats-dashboards-5.1.1.zip -es http://10.251.33.130:9200
Create temporary directory /tmp/tmp679203075
Unzip archive /tmp/tmp679203075
/tmp/tmp679203075/beats-dashboards-5.1.1/filebeat
/tmp/tmp679203075/beats-dashboards-5.1.1/heartbeat
/tmp/tmp679203075/beats-dashboards-5.1.1/metricbeat
Import directory /tmp/tmp679203075/beats-dashboards-5.1.1/metricbeat/index-pattern
Import index to /.kibana/index-pattern/metricbeat-* from /tmp/tmp679203075/beats-dashboards-5.1.1/metricbeat/index-pattern/metricbeat.json
1 Like
system
(system)
Closed
January 11, 2017, 8:11pm
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.