How to create a new Beats output?

and my output is an extended version of logstash output