Issue to setting up Metricbeat on Linux

Hello guys,

I'm currently trying to use my ELK install on WIN2016 and all access seems to be ok with the good tutorial from :

Elastic, Kibana is running and logstach too

But my issue is when i want to set up metricbeat installation on a Linux server... (i use the apt-get install metricbeat command)

For my example of POC my windows server has the IP
from my server in localhost, is ok and running with infos of cluster_name etc..

when i'm going to try # ./metricbeat setup on the linux server i receive the error below :

Exiting: Couldn't connect to any of the configured Elasticsearch hosts. Errors: [Error connection to Elasticsearch Get net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)]

i understand that i have to set some informations in the metricbeat.yml file but all options are set and the error still present...

here is the sample :
hosts: [""]

#Array of hosts to connect to.
hosts: [""]

#The Logstash hosts
#hosts: [""]

If someone can help me it will be cool because i don't understand why and i'm blocked on the basic ... :frowning: :frowning:

Resolve :
Modify elastisearch.yml and add the value :

Thanks for posting the solution :slight_smile:

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