Can not set up beats along with logstash

Hi, i am trying to configure beats working with logstash, using docker compose. If i don't use logstash then everything works perfectly in kibana's dashboard, but when i use logstash and i open kibana, i get some errors and some visualizations can not be displayed. Here are some of my configurations:

logstash.conf

input {
    beats {
        port => 5044
    }
}

output {
    elasticsearch {
        hosts => "elasticsearch:9200"
        index => "%{[@metadata][beat]}-%{[@metadata][version]}"
    }
}

metricbeat.yml

#----------------------------- Logstash output --------------------------------
output.logstash:
  # The Logstash hosts
  hosts: ["192.168.1.1:5044"]

Thanks.

Sharing those errors would be helpful :slight_smile:

These errors occurred in kibana. For example on metricbeat i get the following:

The request for this panel failed.
Fielddata is disabled on text fields by default. Set fielddata=true on [beat.name] in order
to load fielddata in memory by uninverting the inverted index.
Note that this can however use significant memory. Alternatively use a keyword field instead.
Saved "field" parameter is now invalid. Please select a new field.

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