Add tagdrop example for win_perf_counters (#5061)

This commit is contained in:
Greg Volk 2018-11-29 15:04:31 -06:00 committed by Daniel Nelson
parent d69f81ae5e
commit cd9a79f5e6
1 changed files with 15 additions and 0 deletions

View File

@ -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