# Metricbeat -E option does not respect metricbeat.modules.cpu.metrics setting

**URL:** <https://discuss.elastic.co/t/metricbeat-e-option-does-not-respect-metricbeat-modules-cpu-metrics-setting/165188>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [January 22, 2019, 8:43am UTC](https://discuss.elastic.co/t/metricbeat-e-option-does-not-respect-metricbeat-modules-cpu-metrics-setting/165188 "2019-01-22T08:43:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![s.pawluk.krd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s.pawluk.krd/32/40060_2.png) [@s.pawluk.krd](https://discuss.elastic.co/u/s.pawluk.krd)\
**Post date:** [January 22, 2019, 8:43am UTC](https://discuss.elastic.co/t/metricbeat-e-option-does-not-respect-metricbeat-modules-cpu-metrics-setting/165188/1 "2019-01-22T08:43:07Z")

</div>

Hi.

I'm using ELK stack version 6.5.4 on Windows environment.

I tried to automate beats installation using comandline parameters. I noticed that metricbeat does not respect metricbet.modules.cpu.metrics setting.

`metricbeat.exe -v -e -E metricbeat.modules.cpu.metrics=[percentages,normalized_percentages,ticks]`

This setting works when set in system.yml file only.

---

<div class="post-metadata">

**Author:** ![Kaiyan\_Sheng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaiyan_sheng/32/38247_2.png) [@Kaiyan\_Sheng](https://discuss.elastic.co/u/Kaiyan_Sheng)\
**Post date:** [January 28, 2019, 3:36pm UTC](https://discuss.elastic.co/t/metricbeat-e-option-does-not-respect-metricbeat-modules-cpu-metrics-setting/165188/2 "2019-01-28T15:36:30Z")

</div>

Hi thanks for posting it here. There is a known bug around this: [https://github.com/elastic/beats/issues/4780](https://github.com/elastic/beats/issues/4780) Please feel free to follow this issue to see any updates on it.

---

<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 25, 2019, 3:36pm UTC](https://discuss.elastic.co/t/metricbeat-e-option-does-not-respect-metricbeat-modules-cpu-metrics-setting/165188/3 "2019-02-25T15:36:33Z")

</div>

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