For AI agents: The documentation index is at https://docs.digitalocean.com/llms.txt. Markdown versions of pages use the same URL with index.html.md in place of the HTML page (for example, append index.html.md to the directory path instead of opening the HTML document).
DigitalOcean Insights is not a HIPAA-eligible service and is strictly excluded from DigitalOcean’s Business Associate Agreement (BAA). Customers are contractually prohibited from transmitting, storing, or processing Protected Health Information (PHI) within Insights via logs, traces, custom metrics, or log forwarding, even if originating from resources under an active BAA. For teams covered by a BAA, Insights blocks log and trace ingestion but does not block metrics, which remain permissible only to the extent they contain zero PHI.
For more information, see Insights Data Protection.
Platform-level operational metrics do not contain personal data. Logs and traces may contain personally identifiable information (PII), credentials, or other sensitive data emitted by your applications.
Operational security follows DigitalOcean’s Shared Responsibility Model. DigitalOcean secures the underlying infrastructure; customers maintain exclusive responsibility for telemetry contents emitted by their workloads and access control configurations.
Ingested logs and traces do not undergo automatic scrubbing, masking, or redaction. Customers are solely responsible for removing or masking Personally Identifiable Information (PII), credentials, or sensitive data on the client side prior to ingestion.
For more information, see Insights Data Protection.
DigitalOcean Insights log exports let you forward logs to an OpenTelemetry Protocol (OTLP)/HTTP endpoint. You can configure exports by region and optionally limit them to specific resources.
Log exports can only be configured in the DigitalOcean Control Panel, not through the DigitalOcean API or CLI.
Log forwarding costs $0.10 per GB, in addition to telemetry ingestion charges. For more information, see Insights Pricing.
Insights blocks log forwarding for teams covered by a Business Associate Agreement (BAA), including previously configured exports. Existing destinations and policies cannot override this restriction.
To export logs, add a destination to specify where to send logs, then add a policy to select which logs to export.
To manage log exports, go to the Settings tab in the Control Panel.
In the Log Exports section, the Destinations sub-section displays a table of configured log export destinations, including their Name, Endpoint, and Status (Enabled or Disabled). Destinations determine where exported logs are sent.
The Policies sub-section displays a table of configured log export policies, including their Name, Destination, Region, and Scope (All logs or specific resources). Policies determine which logs are exported and their destination. You must create at least one destination before creating a policy.
Add a Destination
To create a log export destination, in the top-right, click New Destination to open the New destination window.
In the Name field, enter a name to identify the destination. For example, production-logs.
In the OTLP/HTTP endpoint field, enter the HTTPS base URL of the endpoint that receives your exported logs. The exporter automatically appends /v1/logs to the URL. For example, enter https://logs.example.com to export logs to https://logs.example.com/v1/logs.
If your endpoint requires authentication or additional HTTP headers, configure them using the following fields:
- Header name: Enter the name of the HTTP header to send with export requests. For example,
Authorization.
- Header value: Enter the value for the corresponding header. For example,
Bearer YOUR_API_TOKEN.
- Secret: Select this checkbox to mark the header value as sensitive.
To configure additional headers, click + Add header, and then enter the header name and value. To remove a header, click the trash icon next to it.
You can only test your destination after creation.
After configuring the destination, click Create destination to save it. The destination is then available for use in log export policies.
Manage Destinations
To manage an existing log export destination, in the Destinations sub-section, on the right, click ….
You can perform the following actions:
-
Edit: Update the destination’s configuration, including the attributes specified when you added the destination.
- To test your destination, in the bottom-left corner, click Test destination to see whether the destination is reached using the configured endpoint and headers.
-
Disable: Stop exporting logs to the destination without deleting its configuration.
-
Delete: Permanently delete the destination. This opens the Delete destination window.
Policies that use the destination stop exporting logs when the destination is deleted.
To confirm deletion, enter the destination’s name, and then click Delete.
Add a New Policy
To create a log export policy, in the top-right corner, click New policy to open the New policy window.
In the Name field, enter a name to identify the policy. For example, production-logs-policy.
From the Destination dropdown menu, select the existing destination where you want to send matching logs.
From the Region dropdown menu, select the region from which you want to export logs. The policy only exports logs from resources in the selected region.
In the Resource Scope section, select one of the following options:
- All logs in this region: Export all eligible team logs from the selected region to the destination.
- Specific resources: Export logs only from selected resources in the region. In the Resources field, search for and select team resources, or enter their Uniform Resource Names (URNs), such as
do:droplet:123456789. You can specify up to 100 resources per policy.
After configuring the policy, click Create policy.
Manage Policies
To manage an existing log export policy, in the Policies sub-section, on the right, click ….
You can perform the following actions:
-
Edit: Update the policy’s configuration, including the attributes specified when you created the policy.
-
Disable: Stop exporting logs that match the policy without deleting its configuration.
-
Delete: Permanently delete the policy. This opens the Delete policy window.
Logs matching the policy are no longer exported after deletion.
To confirm deletion, enter the policy’s name, and then click Delete.