Metricbeat Upgrade from v7 to v8

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.

I resolved it by using copy_fields processor with condition. When I first looked at the documentation for processors, I thouse conditions can't be used with copy_fields. But I just gave it a try and it worked.