From cd9a79f5e672ff9c3b9fa391ee26064a2b122a15 Mon Sep 17 00:00:00 2001 From: Greg Volk Date: Thu, 29 Nov 2018 15:04:31 -0600 Subject: [PATCH] Add tagdrop example for win_perf_counters (#5061) --- docs/CONFIGURATION.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md index 4677e54f2e565..6bb6c2e09919c 100644 --- a/docs/CONFIGURATION.md +++ b/docs/CONFIGURATION.md @@ -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