# What is the difference between kube-state-metric and metricbeat

**URL:** <https://discuss.elastic.co/t/what-is-the-difference-between-kube-state-metric-and-metricbeat/216811>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [January 28, 2020, 10:33am UTC](https://discuss.elastic.co/t/what-is-the-difference-between-kube-state-metric-and-metricbeat/216811 "2020-01-28T10:33:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kasim123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kasim123/32/58684_2.png) [@kasim123](https://discuss.elastic.co/u/kasim123)\
**Post date:** [January 28, 2020, 10:33am UTC](https://discuss.elastic.co/t/what-is-the-difference-between-kube-state-metric-and-metricbeat/216811/1 "2020-01-28T10:33:03Z")

</div>

Hi Team,

I would like to know the difference between kube-state-metric and metricbeat.

I have EFK stack installed in k8s cluster. I would like to get metrics from containers, pod, cpu usage.

Which tools is suggested for my requirement?

Thanks,  
Kasim Shaik

---

<div class="post-metadata">

**Author:** ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)\
**Post date:** [January 28, 2020, 12:31pm UTC](https://discuss.elastic.co/t/what-is-the-difference-between-kube-state-metric-and-metricbeat/216811/2 "2020-01-28T12:31:53Z")

</div>

Hi @kasim123!

`kube-state-metrics` is a project under Kubernetes umbrella and provides cluster wide metrics over http APIs. Metricbeat can work together with `kube-state-metrics` in order to collect these metrics and ship them to Elasticsearch.

Having said these, I would point you to [running-metricbeat-on-kubernetes](https://www.elastic.co/guide/en/beats/metricbeat/current/running-on-kubernetes.html) and [metricbeat-module-kubernetes](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-kubernetes.html).

With these you will be able to monitor metrics from containers, pod, cpu usage etc

C.

---

<div class="post-metadata">

**Author:** ![kasim123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kasim123/32/58684_2.png) [@kasim123](https://discuss.elastic.co/u/kasim123)\
**Post date:** [January 29, 2020, 5:52am UTC](https://discuss.elastic.co/t/what-is-the-difference-between-kube-state-metric-and-metricbeat/216811/3 "2020-01-29T05:52:00Z")

</div>

Thanks for the reply. I already deployed metricbeat using helm chart. Where should I change to enable kubernetes metrics?

Thanks,  
Kasim Shaik

---

<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:** [February 26, 2020, 6:04am UTC](https://discuss.elastic.co/t/what-is-the-difference-between-kube-state-metric-and-metricbeat/216811/4 "2020-02-26T06:04:00Z")

</div>

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