Filebeat Pipelines


I have generated some filebeat configurations using the Machine learning in Kibana which has been amazing. This has given me several configuration files that I can add to Filebeat. The issue I have is that all the indexes are different and the pipelines are different. How do I route certain logs to one output then another to the other?