we need develop a client application which pull out log file from cloudhub in real time and parse the log to generate report.
Now we need to know how to access the cloudhub log service.
I have read through the document and some of the internet threads but still got questions:
1. what is the Cloudhub log service URL, for different envs: test, uat, prod?
2. how to get authenticated to access the service?
@liueri , You can access logs with following URL. Pass application name as URI param
https://anypoint.mulesoft.com/cloudhub/api/applications/{application-name}/logs
For authentication use HTTP basic authentication. For environment specific authentication user something like username@environment and user password.
Please refer attached screenshot.
Also you can use mule cloudhub connector to retrieve application logs
Please refer following urls for further information