Wrap logstash agent setup into reusable definitions