Running Windows 10 the Elastic and Kibana as .bat work fine but configuring beats from .zip download fails for me. I run all on the same machine and only changed the .yml file with this guide:
Even after a reset to default values I get the same error thats below. Is there something wrong with my machine?
While trying to run: .\Filebeat.exe setup -e
Exiting: couldn't connect to any of the configured Elasticsearch hosts. Errors: [error connecting to Elasticsearch at http://127.0.0.1:9200: Get "http://127.0.0.1:9200": EOF]
elasticsearch.yml and kibana.yml are at default
here is my config file for Filebeat:
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["localhost:9200"]
username: "elastic"
password: "my password"
filebeat.inputs:
# filestream is an input for collecting log messages from files.
- type: filestream
# Change to true to enable this input configuration.
enabled: true
# Paths that should be crawled and fetched. Glob based paths.
paths:
- C:\Users\derkau\Downloads\filebeatlog\\*.log
Hey @TiagoQueiroz thanks for your quick reply. Yes I am running on 8.0 and locally.
now my filebeat config looks like this in output.elasticsearch: like you suggested:
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["localhost:9200"]
username: "elastic"
password: "my password"
ssl:
enabled: true
ca_trusted_fingerprint: "23aaa4eb19d2c1b2626a375a58b5225dd8df0cfcf69652af7634311dc6802261"
and I still get the same error message after trying .\Filebeat.exe setup -e
Exiting: couldn't connect to any of the configured Elasticsearch hosts. Errors: [error connecting to Elasticsearch at http://localhost:9200: Get "http://localhost:9200": EOF]
is there a specific reason why filebeat cant communicate with my elasticsearch?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.