From d660903e4589f9b9015a8691bab1862fe64dbd7d Mon Sep 17 00:00:00 2001 From: ncohensm Date: Tue, 23 Aug 2016 10:06:43 -0700 Subject: [PATCH] add note to README re. database creation calls per PR comments --- plugins/inputs/http_listener/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/inputs/http_listener/README.md b/plugins/inputs/http_listener/README.md index 5f0c5970e..9643f6a2e 100644 --- a/plugins/inputs/http_listener/README.md +++ b/plugins/inputs/http_listener/README.md @@ -3,6 +3,7 @@ The HTTP listener is a service input plugin that listens for messages sent via HTTP POST. The plugin expects messages in the InfluxDB line-protocol ONLY, other Telegraf input data formats are not supported. The intent of the plugin is to allow Telegraf to serve as a proxy/router for the /write endpoint of the InfluxDB HTTP API. +When chaining Telegraf instances using this plugin, CREATE DATABASE requests receive a 200 OK response with message body `{"results":[]}` but they are not relayed. The output configuration of the Telegraf instance which ultimately submits data to InfluxDB determines the destination database. See: [Telegraf Input Data Formats](https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md#influx). Example: curl -i -XPOST 'http://localhost:8186/write' --data-binary 'cpu_load_short,host=server01,region=us-west value=0.64 1434055562000000000'