From 7da57fe5f5ab019b59db74945276b8c604b73ba7 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Fri, 8 Mar 2019 14:10:15 -0800 Subject: [PATCH] Fix incorrect option in net_response sample config --- plugins/inputs/net_response/README.md | 2 +- plugins/inputs/net_response/net_response.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/inputs/net_response/README.md b/plugins/inputs/net_response/README.md index 1982ced0c..dcfb341d5 100644 --- a/plugins/inputs/net_response/README.md +++ b/plugins/inputs/net_response/README.md @@ -30,7 +30,7 @@ verify text in the response. # expect = "ssh" ## Uncomment to remove deprecated fields; recommended for new deploys - # fieldexclude = ["result_type", "string_found"] + # fielddrop = ["result_type", "string_found"] ``` ### Metrics: diff --git a/plugins/inputs/net_response/net_response.go b/plugins/inputs/net_response/net_response.go index 55ee0e00d..e411aa647 100644 --- a/plugins/inputs/net_response/net_response.go +++ b/plugins/inputs/net_response/net_response.go @@ -63,7 +63,7 @@ var sampleConfig = ` # expect = "ssh" ## Uncomment to remove deprecated fields - # fieldexclude = ["result_type", "string_found"] + # fielddrop = ["result_type", "string_found"] ` // SampleConfig will return a complete configuration example with details about each field.