# Metricbeats-6.6.1 on kubernetes

**URL:** <https://discuss.elastic.co/t/metricbeats-6-6-1-on-kubernetes/171453>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [March 8, 2019, 8:23am UTC](https://discuss.elastic.co/t/metricbeats-6-6-1-on-kubernetes/171453 "2019-03-08T08:23:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jitendra\_Gupta](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@Jitendra\_Gupta](https://discuss.elastic.co/u/Jitendra_Gupta)\
**Post date:** [March 8, 2019, 8:23am UTC](https://discuss.elastic.co/t/metricbeats-6-6-1-on-kubernetes/171453/1 "2019-03-08T08:23:25Z")

</div>

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](https://us1.discourse-cdn.com/elastic/original/3X/4/9/4970c5cc24b45dd8a2939f58329dc8da4fab7a32.png)

 ![Screen%20Shot%201](https://us1.discourse-cdn.com/elastic/original/3X/7/f/7f10b6894226a8f0fa3322ca6c70fa77b44e9ba7.png)

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [March 12, 2019, 8:32am UTC](https://discuss.elastic.co/t/metricbeats-6-6-1-on-kubernetes/171453/2 "2019-03-12T08:32:11Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Jitendra\_Gupta](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@Jitendra\_Gupta](https://discuss.elastic.co/u/Jitendra_Gupta)\
**Post date:** [March 12, 2019, 6:45pm UTC](https://discuss.elastic.co/t/metricbeats-6-6-1-on-kubernetes/171453/3 "2019-03-12T18:45:03Z")

</div>

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

```auto
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"

```

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [March 14, 2019, 7:44am UTC](https://discuss.elastic.co/t/metricbeats-6-6-1-on-kubernetes/171453/4 "2019-03-14T07:44:14Z")

</div>

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:

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

```

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 11, 2019, 9:44am UTC](https://discuss.elastic.co/t/metricbeats-6-6-1-on-kubernetes/171453/5 "2019-04-11T09:44:21Z")

</div>

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