Subject: [InfluxData Community] [Collect] [Telegraf] Clone processor on win_perf_counters?


Hello,

I try to use the `Clone processor` with `inputs.win_perf_counters.object` but without luck.
Do any one know the correct syntax?

What I did try:
The main input
```yaml
[[inputs.win_perf_counters]]
  UseWildcardsExpansion = true
  [[inputs.win_perf_counters.object]]
    ObjectName = "Process"
    Measurement = "win_process"
    Instances = ["*"]
    Counters = [
      "% Processor Time",
      "% Priviledged Time",
      "% User Time",
      "Handle Count",
      "Private Bytes",
      "Thread Count",
      "Virtual Bytes",
      "Working Set",
      "IO Write Bytes/sec",
      "IO Read Bytes/sec",
      "ID Process"
    ]    
    IncludeTotal=true
```
Clone directives:
* Just after, inside the node
```yaml
[inputs.win_perf_counters.object.clone]
    name_override = "win_process_iis"
```
* Just after
```yaml
[[inputs.win_perf_counters.clone]]
      namepass = ["win_process"]
      name_override = "win_process_iis"
```

Thanks,
Herve-M

---