Metricbeat dosen't show metrics on Kibana

Hello everyone, i'm having trouble seeing the metrics on my kibana dashboard.

I have ELK deployed on my kubernetes cluster and a remote virtual machine (centos 8) which i installed metricbeat. i changed the output to logstash in here.

# ------------------------------ Logstash Output -------------------------------
output.logstash:
  # The Logstash hosts
  hosts: ["10.112.42.72:5044"]
 # Optional SSL. By default is off.
  # List of root certificates for HTTPS server verifications
  #ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]

that's my logstash ip address and i changed the host.

setup.kibana:

  # Kibana Host
  # Scheme and port can be left out and will be set to the default (http and 5601)
  # In case you specify and additional path, the scheme is required: http://localhost:5601/path
  # IPv6 addresses should always be defined as: https://[2001:db8::1]:5601
  host: "10.112.42.71:5601"

Since the output is logstash i need to load the index template manually. i used this command.

metricbeat setup --index-management -E output.logstash.enabled=false -E 'output.elasticsearch.hosts=["10.112.42.73:9200"]'

that's the ip address of Elasticsearch.

the index then showed.

the index was created just fine.
i can see the metrics coming to logstash.

but i can't see the metrics when the index is metricbeat.

and i can't see any data in metrics tab.

and the dashboard isn't showing anything too.

thank you for taking your time to read :slight_smile: