# Kubernetes dashboard not showing some metrics when using 15 min interval

**URL:** <https://discuss.elastic.co/t/kubernetes-dashboard-not-showing-some-metrics-when-using-15-min-interval/205254>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [October 25, 2019, 12:28pm UTC](https://discuss.elastic.co/t/kubernetes-dashboard-not-showing-some-metrics-when-using-15-min-interval/205254 "2019-10-25T12:28:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronin](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@Ronin](https://discuss.elastic.co/u/Ronin)\
**Post date:** [October 25, 2019, 12:28pm UTC](https://discuss.elastic.co/t/kubernetes-dashboard-not-showing-some-metrics-when-using-15-min-interval/205254/1 "2019-10-25T12:28:44Z")

</div>

We have metricbeats reporting Kubernetes kube state metrics every 30s and have verified this when looking through the indexes. The dashboard that metricbeats creates that shows the number of deployments and pods, when set to the last 15 mins always shows 0 for those values. One such value is cardinality of the kubernetes.deployment.name field. I have also verified that the field shows up 20,000 times in the last 15 mins. If I switch the chart to 60 mins, it will show all the metrics correctly in this dashboard. Also to note, if I switch the reporting for kube state to every 10s then it will show correctly in the dashboard for the 15 min interval.

15 min:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/8/08ced75e51aa5c719f0005da4599542581d9593d.png)

```auto
    metricbeat.modules:
    - module: kubernetes
      enabled: true
      metricsets:
        - state_node
        - state_deployment
        - state_replicaset
        - state_pod
        - state_container
      period: 30s
      hosts: ["${KUBE_STATE_METRICS_HOSTS}"]

```

---

<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:** [November 22, 2019, 12:28pm UTC](https://discuss.elastic.co/t/kubernetes-dashboard-not-showing-some-metrics-when-using-15-min-interval/205254/2 "2019-11-22T12:28:46Z")

</div>

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