This is a Java plugin for Logstash.
It is fully free and fully open source. The license is Apache 2.0, meaning you are free to use it however you want.
The documentation for Logstash Java plugins is available here.
EXPERIMENTAL: Example Java input plugin for Logstash to bootstrap your effort to write your own Java input plugin!
Java