Metricbeats-6.6.1 on kubernetes

As per the attached screenshot1 - looks like our metricbeat is configured correctly but the kubernetes dashboard does not load and fails with the attached error.We are using elastic6.6.1 stack. Any help on this will be highly appreciated...Thanks.
Error

How did you load the k8s dashboards? I assume you followed the steps in the Add Data UI? Did you get any errors when you run the command?

Are all compontents 6.6.1?

This is my metricbeat configmap.I am loading it using setup.dashboards.enabled: true
Yes- All components are 6.6.1.

apiVersion: v1
kind: ConfigMap
metadata:
name: metricbeat-daemonset-config
namespace: data-platform
labels:
  k8s-app: metricbeat
data:
metricbeat.yml: |-
  metricbeat.config.modules:
    # Mounted `metricbeat-daemonset-modules` configmap:
    path: ${path.config}/modules.d/*.yml
    # Reload module configs as they change:
    reload.enabled: false

  # To enable hints based autodiscover uncomment this:
  #metricbeat.autodiscover:
  #  providers:
  #    - type: kubernetes
  #      host: ${NODE_NAME}
  #      hints.enabled: true

  processors:
    - add_cloud_metadata:

  cloud.id: ${ELASTIC_CLOUD_ID}
  cloud.auth: ${ELASTIC_CLOUD_AUTH}

  output.elasticsearch:
    hosts: ['${ELASTICSEARCH_HOST:elasticsearch}:${ELASTICSEARCH_PORT:9200}']
    username: ${ELASTICSEARCH_USERNAME}
    password: ${ELASTICSEARCH_PASSWORD}
    setup.dashboards.enabled: true
  setup.kibana:
    host: "http://kibana:5601"

Could you go into Kibana > Management > Saved Objects, then filter for "Kubernetes" and click on [Metricbeat Kubernetes] Overview. Now you should have an url which looks like:

http://localhost:5601/app/kibana#/management/kibana/objects/savedDashboards/AV4RGUqo5NkDleZmzKuZ?_g=()

Can you share your URL? Curious what id you have here.

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