logstash-filter-tor Example filter plugin. This should help bootstrap your effort to write your own filter plugin!