Many websites must forward their log files to a central location (such as Sumologic, Splunk, or Loggly) for processing and alerting. Acquia uses TLS over TCP to forward the log files you select to a remote destination.
Log forwarding eligibility
Log forwarding requires dedicated load balancers with your subscription, and is available for the following subscription types:
- Cloud Platform Elite
- Cloud Platform Premium
- Cloud Platform Plus with the Enterprise Security Package add-on
- Cloud Platform Enterprise with the Log Forwarding add-on
- Cloud Platform Enterprise with an Elite subscription, and an Acquia Technical Account Manager (These users may have the Legacy log forwarding service enabled)
Configuring log forwarding
After log forwarding is enabled for you, assign the Administer log forwarding for non-production environments and Administer log forwarding for your production environment permissions to roles in your organization. By default, the Team Lead and Senior Developer roles can manage log forwarding on all environments, while the Developer role can manage log forwarding on non-production environments only.
To configure log forwarding for Cloud Platform, a user with one of the log forwarding permissions must complete the following steps depending on the log forwarding service you have selected:
All logs forwarded to your remote destination have additional fields added to the beginning of each line. For more information about this data and its format, see File formats in forwarded log files.
Determining the log forwarding status
The Cloud Platform user interface allows you to determine the status of the log forwarding process for each of your logs. A log forwarding destination may have one of the following statuses:
- Active: Cloud Platform is actively forwarding your logs to the log forwarding destination. The Cloud Platform user interface will display the active text along with an Active icon in the Status column of the Logs > Forward page.
- Inactive: Cloud Platform is not actively forwarding your logs to the log forwarding destination. The Cloud Platform user interface will display the inactive text along with an Inactive icon in the Status column of the Logs > Forward page.
Pending: The Cloud Platform log forwarding process is in the pending state during the time it takes a user to complete the following actions:
- Create a log forwarding destination
- Edit a log forwarding destination
- Enable a log forwarding destination
- Disable a log forwarding destination
The Cloud Platform user interface will display the pending text along with the Pending icon in the Status column of the Logs > Forward page.
Legacy log forwarding service
If your application is currently using Acquia’s legacy log forwarding service, contact your Technical Account Manager (TAM) or Acquia Support to learn more about upgrading to the current version of the service.
Cloud Platform API endpoints for log forwarding
The Cloud Platform API provides endpoints for log forwarding, including:
- Create, enable, or update a log forwarding destination
- Disable or delete a log forwarding destination
- List log forwarding destinations for an environment
- Return a specified log forwarding destination
- Display available log forwarding sources or consumers