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

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.

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