# \[METRICBEAT\] Infrastructure kubernetes inventory empty

**URL:** <https://discuss.elastic.co/t/metricbeat-infrastructure-kubernetes-inventory-empty/209054>\
**Category:** Beats\
**Created:** [November 22, 2019, 11:32am UTC](https://discuss.elastic.co/t/metricbeat-infrastructure-kubernetes-inventory-empty/209054 "2019-11-22T11:32:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benjamin\_Carriou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/benjamin_carriou/32/47347_2.png) [@Benjamin\_Carriou](https://discuss.elastic.co/u/Benjamin_Carriou)\
**Post date:** [November 22, 2019, 11:32am UTC](https://discuss.elastic.co/t/metricbeat-infrastructure-kubernetes-inventory-empty/209054/1 "2019-11-22T11:32:53Z")

</div>

Hi,

I have install metricbeats on my k8s cluster and I can see hosts metrics in infrastructure inventory module but kubernetes metrics (pods) are empty:

 ![Capture%20d%E2%80%99%C3%A9cran%20de%202019-11-22%2012-28-02](https://us1.discourse-cdn.com/elastic/original/3X/e/4/e44f7de614fc29df7e148a8d8d41a773326dca1a.png)

We are some persons who this issue appears:

- [Kibana/ES not showing kube pod metrics](https://discuss.elastic.co/t/kibana-es-not-showing-kube-pod-metrics/208913)
- [Metric beat kubernetes example not showing pod metrics](https://discuss.elastic.co/t/metric-beat-kubernetes-example-not-showing-pod-metrics/189257)

Thx for your help ...

---

<div class="post-metadata">

**Author:** ![Benjamin\_Carriou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/benjamin_carriou/32/47347_2.png) [@Benjamin\_Carriou](https://discuss.elastic.co/u/Benjamin_Carriou)\
**Post date:** [November 26, 2019, 10:06am UTC](https://discuss.elastic.co/t/metricbeat-infrastructure-kubernetes-inventory-empty/209054/2 "2019-11-26T10:06:49Z")

</div>

Any idea ?

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [November 27, 2019, 8:27am UTC](https://discuss.elastic.co/t/metricbeat-infrastructure-kubernetes-inventory-empty/209054/3 "2019-11-27T08:27:22Z")

</div>

Hi @Benjamin_Carriou,

Thank you for reporting! Could you explain a little bit how are you deploying Metricbeat? It would also be good if you could share its logs.

Best regards

---

<div class="post-metadata">

**Author:** ![Edgar\_Peixoto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/edgar_peixoto/32/58987_2.png) [@Edgar\_Peixoto](https://discuss.elastic.co/u/Edgar_Peixoto)\
**Post date:** [December 7, 2019, 10:26pm UTC](https://discuss.elastic.co/t/metricbeat-infrastructure-kubernetes-inventory-empty/209054/4 "2019-12-07T22:26:33Z")

</div>

Try to execute everything again as an admin. It worked here.

---

<div class="post-metadata">

**Author:** ![Benjamin\_Carriou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/benjamin_carriou/32/47347_2.png) [@Benjamin\_Carriou](https://discuss.elastic.co/u/Benjamin_Carriou)\
**Post date:** [December 10, 2019, 11:27am UTC](https://discuss.elastic.co/t/metricbeat-infrastructure-kubernetes-inventory-empty/209054/5 "2019-12-10T11:27:12Z")

</div>

Hi @Edgar_Peixoto,

Execute in admin ?

---

<div class="post-metadata">

**Author:** ![Edgar\_Peixoto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/edgar_peixoto/32/58987_2.png) [@Edgar\_Peixoto](https://discuss.elastic.co/u/Edgar_Peixoto)\
**Post date:** [December 20, 2019, 11:32am UTC](https://discuss.elastic.co/t/metricbeat-infrastructure-kubernetes-inventory-empty/209054/6 "2019-12-20T11:32:21Z")

</div>

You are using terminal to apply metric-beat.yml, right? Use the terminal as an admin (or sudo if you are using Linux).

---

<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:** [January 17, 2020, 1:32pm UTC](https://discuss.elastic.co/t/metricbeat-infrastructure-kubernetes-inventory-empty/209054/7 "2020-01-17T13:32:21Z")

</div>

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