From cd89aa8d3ed1ed124c74e405821e64b760d558b4 Mon Sep 17 00:00:00 2001 From: Ali Alrahahleh Date: Tue, 24 May 2016 15:38:46 -0700 Subject: [PATCH] add __body to sample config --- plugins/inputs/httpjson/httpjson.go | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/inputs/httpjson/httpjson.go b/plugins/inputs/httpjson/httpjson.go index 819188754..00487cd3e 100644 --- a/plugins/inputs/httpjson/httpjson.go +++ b/plugins/inputs/httpjson/httpjson.go @@ -90,6 +90,7 @@ var sampleConfig = ` # ] ## HTTP parameters (all values must be strings) + ## POST body can be sent by setting __body special attribute. [inputs.httpjson.parameters] event_type = "cpu_spike" threshold = "0.75"