In addition to viewing basic logs in App Platform, you can forward application runtime logs to external log management providers. This allows you to use the provider to search, index and retain the logs. Currently, App Platform supports log forwarding to Papertrail and Datadog only.
To configure log forwarding, go to the Apps section of the control panel, click on your app, and click on the Settings tab. In the Log Forwarding section, click Edit and then click the Add Destination button. In the Add Log Destination dialog box, specify the following information:
Name: Name of the provider being configured.
Log Destination Type: List of log service providers. Select Papertrail or Datadog from the dropdown list.
Endpoint: Provider endpoint where App Platform forwards the logs.
API Key: API key (for Datadog only)
Select the components of the app that should forward logs to the provider.
Click the Add Log Destination button to enable remote logging for the provider.