Add tagdrop example for win_perf_counters (#5061)
This commit is contained in:
parent
d69f81ae5e
commit
cd9a79f5e6
|
@ -258,6 +258,21 @@ interpreted as part of the tagpass/tagdrop map.
|
|||
fstype = [ "ext4", "xfs" ]
|
||||
# Globs can also be used on the tag values
|
||||
path = [ "/opt", "/home*" ]
|
||||
|
||||
|
||||
[[inputs.win_perf_counters]]
|
||||
[[inputs.win_perf_counters.object]]
|
||||
ObjectName = "Network Interface"
|
||||
Instances = ["*"]
|
||||
Counters = [
|
||||
"Bytes Received/sec",
|
||||
"Bytes Sent/sec"
|
||||
]
|
||||
Measurement = "win_net"
|
||||
# Don't send metrics where the Windows interface name (instance) begins with isatap or Local
|
||||
[inputs.win_perf_counters.tagdrop]
|
||||
instance = ["isatap*", "Local*"]
|
||||
|
||||
```
|
||||
|
||||
#### Input Config: fieldpass and fielddrop
|
||||
|
|
Loading…
Reference in New Issue