27 lines
634 B
Plaintext
27 lines
634 B
Plaintext
|
The System `network` metricset provides network IO metrics collected from the
|
||
|
operating system. One event is created for each network interface.
|
||
|
|
||
|
This metricset is available on:
|
||
|
|
||
|
- FreeBSD
|
||
|
- Linux
|
||
|
- macOS
|
||
|
- Windows
|
||
|
|
||
|
[float]
|
||
|
=== Configuration
|
||
|
|
||
|
*`interfaces`*:: By default metrics are reported from all network interfaces.
|
||
|
To select which interfaces metrics are reported from, use the `interfaces`
|
||
|
configuration option. The value must be an array of interface names. For
|
||
|
example:
|
||
|
|
||
|
[source,yaml]
|
||
|
----------------------------
|
||
|
metricbeat.modules:
|
||
|
- module: system
|
||
|
metricsets: [network]
|
||
|
interfaces: [eth0]
|
||
|
----------------------------
|
||
|
|