Hi, I have a server with ES + Kibana and I want to start shipping logs from different servers to the "monitoring server". I tried to use ES output like this:
output.elasticsearch: # Array of hosts to connect to. hosts: ["elastic_server_url/"] template.name: "filebeat" template.path: "filebeat.template.json" template.overwrite: false
But I got this error:
ERR Connecting error publishing events (retrying): Get XXX dial tcp XX: getsockopt: connection refused
Is there something wrong with my configuration?
Should I use Logstash output instead?