you can try to use logstash to kafka
but usually you need an application anyway, unless you will always just capture clicks and return a empty gif with no cookies,
Using logstash can see a little fragile in my opinion, as it intended to read from files logs, but that can work, just make sure the log-rotate is not truncating this file and duplicaitng or losing some during, and how logstash will handle this
Usually for logging the expectations is not high, and a little bit of loss is or duplication is not considered the end of the word, in comparison to an API that handled everything to kafka and returned 200