Try to stream responses to prevent timeouts
Some channellogs (forsen e.g.) can grow so big that the request can time out before the server has the response ready for sending. I think it would be quite benefitial if justlog transformed the input line-by-line, writing the transformed lines to the http response as they are generated (streaming), so that the response can start being sent right away after the request is made, and not when the whole file has been transformed in memory.
I had something like that in logstv https://github.com/gempir/logstv-cassandra/blob/master/api/main.go#L146
There its just for json. Do you think this makes sense though? Just a stream parameter than can be passed?
Isn't our current implementation covering this issue?