telegraf configuration for http endpoint at 127.0.0.1:8186
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 6 Dec 2016 11:34:52 +0000 (12:34 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 6 Dec 2016 11:34:52 +0000 (12:34 +0100)
telegraf.d/http-8186.conf [new file with mode: 0644]

diff --git a/telegraf.d/http-8186.conf b/telegraf.d/http-8186.conf
new file mode 100644 (file)
index 0000000..1a45bc6
--- /dev/null
@@ -0,0 +1,16 @@
+[[inputs.http_listener]]
+  ## Address and port to host HTTP listener on
+  service_address = "127.0.0.1:8186"
+
+  ## maximum duration before timing out read of the request
+  read_timeout = "10s"
+  ## maximum duration before timing out write of the response
+  write_timeout = "10s"
+
+  ## Maximum allowed http request body size in bytes.
+  ## 0 means to use the default of 536,870,912 bytes (500 mebibytes)
+  max_body_size = 0
+
+  ## Maximum line size allowed to be sent in bytes.
+  ## 0 means to use the default of 65536 bytes (64 kibibytes)
+  max_line_size = 0