Metric Beat _Fail to run Import Dashboard Script on Remote Virtual machine

Hi Team,

I am trying to run Metric beat import dashboard script on remote Virtual machine from where Windows resources needs to be extracted.

Elastic Search & Kibana are running on my local machine.

I am getting below error while running import dashboard script on remote virtual machine.

any leads for the same.

Error Message:-

Failed to set the mapping - 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\X*****~1\AppData\Local\Temp\tmp359708419
Downloading https://artifacts.elastic.co/downloads/beats/beats-dashboards/beats-dashboards-5.4.0.zip
Error importing URL/file: Failed to download file: https://artifacts.elastic.co/downloads/beats/beats-dashboards/beats-dashboards-5.4.0.zip. Error: Get https://artifacts.elastic.co/downloads/beats/bea
ts-dashboards/beats-dashboards-5.4.0.zip: read tcp ip.ip.ip.ip:59397->ip.ip.ip.ip:443: wsarecv: An existing connection was forcibly closed by the remote host. Exiting

Hi @tanuj_wadhawan,

It looks like you have to update your output configuration, elasticsearch host is pointing to 127.0.0.1, while probably you want to point it to your host. Check your VM network settings, and set the right host there.

Also check that the VM has internet access

Hi Carlos Pérez Aradros,

I had updated the metricbeat .yml with the IP of my host but upon executing the import dashboard above error had been observed.

VM is having the internet access as well.

Same metric beat import dashboard script is working on the local machine.
Is there any config setting in import dashboard script that needs to be updated.

Uhm, can you try to download https://artifacts.elastic.co/downloads/beats/beats-dashboards/beats-dashboards-5.4.0.zip from a browser inside your VM? I want to make sure that is working

It has been downloaded at VM .
Could you please suggest next steps to proceed with.

Hi Carlos Pérez Aradros,

Did you get a chance to look into it.

Hi,

I don't see a clear explanation, do you have any antivirus/firewall running on the machine? It could cause this. Also, could you run metricbeat in debug mode?:

metricbeat.exe -e -v -d "*"

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