Add gzip content-encoding support to influxdb output (#2978)

This commit is contained in:
Bob Shannon
2017-08-14 17:50:15 -04:00
committed by Daniel Nelson
parent 7d5dae5a08
commit 5fbdd09aaf
4 changed files with 69 additions and 16 deletions

View File

@@ -43,6 +43,9 @@ This plugin writes to [InfluxDB](https://www.influxdb.com) via HTTP or UDP.
## HTTP Proxy Config
# http_proxy = "http://corporate.proxy:3128"
## Compress each HTTP request payload using GZIP.
# content_encoding = "gzip"
```
### Required parameters:
@@ -67,3 +70,4 @@ to write to. Each URL should start with either `http://` or `udp://`
* `ssl_key`: SSL key
* `insecure_skip_verify`: Use SSL but skip chain & host verification (default: false)
* `http_proxy`: HTTP Proxy URI
* `content_encoding`: Compress each HTTP request payload using gzip if set to: "gzip"