Hello, we want to upgrade our metricbeat to v8 from v7. We mainly use it to collect system and windows.perfmon data and send it to kafka. From the docs, syntax to config windows perfmon has chaged. I have translated it to new format, but had question regarding some fields.
For example:
v7
- instance_label: "EgressInterface"
measurement_label: "EgressBytes"
query: '\Network Adapter(HPE Ethernet)\Bytes Total/sec'
With that config, I get field windows.perfmon.EgressInterface = HPE Ethernet and windows.perfmon.EgressBytes = 10000
in v8 that config is as follows:
- object: "Network Adapter"
field: "EgressInterface"
instance: "HPE Ethernet"
counters:
- name: "Bytes Total/sec"
field: "EgressBytes"
I get windows.perfmon.EgressInterface = Network Adapter, windows.perfmon.instance = HPE Ethernet and windows.perfmon.metrics.EgressBytes = 10000
Is there a way I can get label instance itself like in v7 config, to have a backward compatibility.
I am aware of processor copy_fields, but I am collecting multiple permon counters and instance label is not same for each of them.