add basic tcp and udp inputs
rework main logstash.tt with loops