telegraf icon indicating copy to clipboard operation
telegraf copied to clipboard

curl request to send json input to tcp listener

Open gaurav-moonfroglabs opened this issue 10 years ago • 1 comments

Hey ,

I was unable to send json data to telegraf using tcp listener using either curl or our server programs too. IT says unable to parse json and try reading the headers passed through json. Can you send an example to pass json data to tcp listener in telegraf.

gaurav-moonfroglabs avatar May 04 '16 09:05 gaurav-moonfroglabs

yes, in the input docs: https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md#json

sparrc avatar May 04 '16 13:05 sparrc