We don’t currently have support for remote collection with win_perf_counters (github issue).
To send measurements to a specific InfluxDB database you can use the plugins database option, you will probably want to pair it with some of the measurement filtering options if you are sending only some of the measurements to this database. Here is an example of how to configure the output.