hi ,
for my windows module (metricset: perfmon), do I have to fill in the counter in the metricbeat.yml
Because I would like to do that in the configuration of the windows module, but not in the metricbeat.yml.
metricbeat.config.modules:
# Glob pattern for configuration loading
path: c:\\ProgramData\\metricbeat\\modules.d\\*.yml
# Set to true to enable config reloading
reload.enabled: true
# Period on which files under path should be checked for changes
reload.period: 10s
#============================== modules =====================================
metricbeat.modules:
- module: windows
metricsets: ["perfmon"]
enabled: true
period: 10s
perfmon.ignore_non_existent_counters: true
perfmon.counters:
- instance_label: processor.name
instance_name: total
measurement_label: processor.time.total.pct
query: '\Processor Information(_Total)\% Processor Time'
Blockquote
if i define the same counter in the windows.yml, why i can't take it back if i don't define it in metricbeat.yml