Extracting logs from Gluu Server is a very common requirement and our customers are doing it all the time.
Kafka is just a tool.
As Mike said... you just need to know how to extract data from any unix/linux system. That means, open outbound port and send data periodically ( may be with cron ) to your external system.