Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Hybrid - details about log / customize fluentd

Good morning,
I would like a clarification about the routing of logs written on syslog on Hybrid:

1-  How is it possible to configure the pre-installed fluentd agent to send MessagePolicy logs to one party, and operational pod logs (es: deployment errors) to another?

Let me explain: if I log the MessagePolicy on the syslog, will these logs find themselves mixed with the operational logs of the runtime?
Is there any way to set fluentd to send MessagePolicy logs to Cloud Logging and pod logs to Kibana on-prem instead? (or maybe take the system logs of the operational pods to the logstash agent?)

Reading this: https://github.com/srinandan/apigee-fluentd-logger
I seemed to understand that 2 different agents are needed, but I don't understand why.

2-Is there a list of the tags that are assigned to the logs? I understand that the runtime logs are intercepted with <match apigee. **>, is correct?

3-Can fluentd add a label? I have different clusters, so I need a way to split them when I search them in Cloud Logging.

Thank you very much, unfortunately I have not found anything detailed about that

0 0 285
0 REPLIES 0