This is the error im getting ,When i tried to import_dashboard for filebeat

import_dashboards -only-index import_dashboards -only-index fail to set the mapping. Error: Put http://127.0.0.1:9200/.kibana/_mapping/search: dial tcp 127.0.0.1:9200: connectex: No connection could be made because the target machine actively refused it. Create temporary directory C:\Users\Ellora\AppData\Local\Temp\tmp834320859 Downloading https://artifacts.elastic.co/downloads/beats/beats-dashboards/beats-dashboards-5.2.2.zip Unzip archive C:\Users\Ellora\AppData\Local\Temp\tmp834320859 C:\Users\Ellora\AppData\Local\Temp\tmp834320859\beats-dashboards-5.2.2\filebeat Import directory C:\Users\Ellora\AppData\Local\Temp\tmp834320859\beats-dashboards-5.2.2\filebeat/index-pattern Import index to /.kibana/index-pattern/filebeat-* from C:\Users\Ellora\AppData\Local\Temp\tmp834320859\beats-dashboards-5.2.2\filebeat\index-pattern\filebeat.json ERROR: couldn't load json. Error: Put http://127.0.0.1:9200/.kibana/index-pattern/filebeat-: dial tcp 127.0.0.1:9200: connectex: No connection could be made because the target machine actively refused it. fail to import index-pattern: fail to load directory C:\Users\Ellora\AppData\Local\Temp\tmp834320859\beats-dashboards-5.2.2\filebeat/index-pattern: error loading C:\Users\Ellora\AppData\Local\Temp\tmp834320859\beats-dashboards-5.2.2\filebeat\index-pattern\filebeat.json: couldn't load json. Error: Put http://127.0.0.1:9200/.kibana/index-pattern/filebeat-: dial tcp 127.0.0.1:9200: connectex: No connection could be made because the target machine actively refused it.

The error seems to indicate that it couldn't connect to Elasticsearch at the http://127.0.0.1:9200 url. Is that the right one? If not, you can change it by using the -es parameter.

1 Like

Wow its working now,it was very helpful,thank you soo much

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