Filebeat can not connect to elasticsearch and kibana can not see the data

I installed elasticsearch and kibana using docker on the server and filebeat on my pc. But when my filebeat tries to setup(filebeat setup), it shows

Exiting: couldn't connect to any of the configured Elasticsearch hosts. Errors: [error connecting to Elasticsearch at Get "": EOF

and my filebeat.yml is:

# -------------------------------------Elasticsearch Output --------------------------------------
     host: [""]
    # protoctl:  "https"
    #api_key : "id:api_key"
    username: "elastic"
    password: “mypassword"
    ssl.ca_trusted_fingerprint: " 8aa200d4137cdcdc8ebae7bc549aa7dd969b9b15d4ef3bb2bd9f48f41697480f"
    host: ""

when i try to curl:

root@debian:# curl - v
curl:(52) Empty reply from server

But after I changed the value of in elasticsearch.yml in docker to false, it does work.

# Enable security features

it connect:

root@debian:# filebeat setup
Loaded Ingest pipelines

For why?
However my kibana still can't see any data.My kinan status is green.

Nothing can be seen.

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