Ok so you dont really need to have 2 separates pipelines, if you do need to separates projects you can always tag logs depending on their sources.
Tag example :
# Foo o365
- type: log
enabled: true
paths:
- "/var/log/o365.log"
encoding: utf-8
tags: ["foo365"]