But whatever I try it keeps indexing metrics for all my interfaces. Anyone got an idea what I'm doing wrong? The docsonly show a Linux example. is it even possible with Windows to select the interface?
On Windows, the system.network metricset in Metricbeat doesn’t filter by interface name the same way the Linux examples show. That’s why trying things like WiFi, "WiFi" or ["WiFi"] isn’t working — it just keeps collecting all interfaces. The correct way on Windows is to use the exact interface name as shown by the OS. First, run this in PowerShell:
Get-NetAdapter
Check the Name column and copy it exactly (for example: Wi-Fi, not WiFi).
Then in your metricbeat.yml:
- module: system
metricsets: ["network"]
interfaces: ["Wi-Fi"]
Make sure the name matches exactly, including dash and capitalization. If that still doesn’t filter, another reliable workaround is to collect all interfaces and then drop the ones you don’t want using a processor:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.