I'm looking for a way to read an "endless" stream of JSON from an HTTP API. The JSON lines are newline delimited. Using the http_plugin I always get after a lot of time the error "Could not read from stream: Premature end of chunk coded message body: closing chunk expected".
Any ideas? Should I use a different way? Any help would be much appreciated.
Thanks in advance,