0
votes

I am planning to export logging from MuleSoft CloudHub to AWS CloudWatch.

I saw there is one AWS CloudWatch Connector in GitHub: https://github.com/mulesoft-labs/mule-amazon-cloudwatch-connector/tree/master/mule-cloudwatch-connector

Is there any examples on how to implement this?

And which AWS CloudWatch features is supported in this connector?

I found other export logs method with examples, but not for AWS CloudWatch: https://help.mulesoft.com/s/question/0D52T00004mXUALSA4/export-log-to-external-system

Thanks.

1

1 Answers

0
votes

You could try to create a Mule application that reads logs from CloudHub using CloudHub's API and pushes them to CloudWatch. The readme for the connector doesn't seem to mention an operation to put logs into CloudWatch, but if CloudWatch has a REST API for it -every AWS product has it- you could use it in your application.

This KB article shows how to get the logs from CloudHub: https://help.mulesoft.com/s/article/How-to-get-whole-Application-logs-from-Cloudhub-through-API