Kibana index pattern

i am following the instructions in https://www.elastic.co/guide/en/cloud/current/ec-beats.html
number 7. load the kibana index pattern

i run this command:
import_dashboards -only-index -es http://93bb827b4a16fa433486bd5a2de84b12.eu-west-1.aws.found.io:9200 -file E:\Software\beats-dashboards-5.4.1.zip -user elastic -pass xxxxxxxxxxxxxxxxxxxxxx

but i got this error:

C:\Program Files\Filebeat\scripts>import_dashboards -only-index -es http://93bb827b4a16fa433486bd5a2de84b12.eu-west-1.aws.found.io:9200 -file E:\Software\beats-dashboards-5.4.1.zip -user elastic -pass xxxxxxxxxxxxxxx
Failed to set the mapping: Put http://93bb827b4a16fa433486bd5a2de84b12.eu-west-1.aws.found.io:9200/.kibana/_mapping/search: read tcp 143.97.5.4:54228->54.247.93.212:9200: wsarecv: An existing connection was forcibly closed by the remote host.
Created temporary directory C:\Users\jill\AppData\Local\Temp\tmp370722035
Unzip archive C:\Users\jill\AppData\Local\Temp\tmp370722035
Importing Kibana from C:\Users\jill\AppData\Local\Temp\tmp370722035\beats-dash
boards-5.4.1\filebeat
Import directory C:\Users\jill\AppData\Local\Temp\tmp370722035\beats-dashboard
s-5.4.1\filebeat/index-pattern
Import index to /.kibana/index-pattern/filebeat-* from C:\Users\jill\AppData\Local\Temp\tmp370722035\beats-dashboards-5.4.1\filebeat\index-pattern\filebeat.json

Error importing URL/file: Failed to import index-pattern: Failed to load directory C:\Users\jill\AppData\Local\Temp\tmp370722035\beats-dashboards-5.4.1\filebeat/index-pattern:
error loading C:\Users\jill\AppData\Local\Temp\tmp370722035\beats-dashboards-5.4.1\filebeat\index-pattern\filebeat.json: couldn't load json.
Error: Put http://93bb827b4a16fa433486bd5a2de84b12.eu-west-1.aws.found.io:9200/.kibana/index-pattern/filebeat-*: write tcp 143.97.5.4:54232->54.228.213.243:9200:
wsasend: An existing connection was forcibly closed by the remote host.
Exiting

Hi,

Can you check your ES url is correct? It looks like there is an error while establishing a connection to it

yes it correct when i access it, it displays a json respond

maybe i need to fix my firewall

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