How to setup multiple input and output in Filebeat config?

Because the new logstash server is for vendor to monitor their application log.

In this case, what is the best approach? Can I use Grok filter plugin to whitelist logs that I want?