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).
How to View Logs
Last verified 4 Dec 2026
DigitalOcean Insights provides metrics, logs, traces, dashboards, and alerts to help you monitor, analyze, and troubleshoot supported DigitalOcean resources.
Warning
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.
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.
The Logs tab lets you investigate activity and troubleshoot issues across supported DigitalOcean resources. You can search and filter log entries, inspect structured attributes, and adjust the time range and refresh interval to monitor recent events.
At the top, a chart displays log volume by severity over the selected time range, with a results table below. On the left, use the Filters panel to narrow the results by severity, service name, resource type, or resource.
You can enable available Insights telemetry when creating a supported DigitalOcean resource. The available options depend on the resource type.
For Droplets, under the Monitoring section, select Improved Metrics and monitoring (Free) to install the DigitalOcean metrics agent (do-agent). For GPU Droplets created with AI/ML Ready images, enable GPU Observability during resource creation. The agent collects supported system and GPU metrics, but logs and traces are not currently supported.
For supported managed resources, you can enable log and trace collection during resource creation and disable it later if needed. Insights is enabled by default for Managed Agents.
View Logs Using the Control Panel
To view logs, go to the Logs tab in the DigitalOcean Control Panel.
Select a Region or Resource
In the top-left corner, click the Region drop-down menu to choose how to scope your query.
You can select one of the following options:
Region: Select a region to view its telemetry data. Use the Search regions field to find a specific region.
Resource: Select a specific resource to view its telemetry data. Use the Search resources field to find a resource.
Multi-Region Resource: Select a resource type to view telemetry data across multiple regions.
The selected region, resource, or multi-region resource type determines which telemetry data appears in the results.
When you select a resource, the Logs tab displays logs from the region where the resource’s telemetry is stored. For global resources, Insights queries the regions where logs are stored and combines the results into a single list.
Set the Time Range
In the top-right corner, click the Time range drop-down menu to select a relative range from Last 5 minutes to Last 14 days, or specify an absolute range using the From and To fields.
Use the Timezone drop-down menu to select the timezone for displaying metric timestamps. The default is your browser’s local timezone.
Set the Refresh Interval
In the top-right corner, click the Refresh interval drop-down menu to select Off, 1m, 5m, 15m, 30m, 1h, 2h, or 1d.
To refresh the metric data manually, click the refresh icon.
Search and Filter Logs
The Logs tab displays logs from supported resources. To search log entries, in the Search by Body, Service Name, Resource Type field, enter a search term. Search matches only the log body.
On the left, use the Filters panel to narrow results by severity, service name, resource type, or resource. Available filter values depend on the log data for the selected region or resource.
Select one or more checkboxes within a filter section to narrow the results.
The results update based on the selected filters. To clear the selections in a filter section, next to the section’s name, click Clear. To remove all applied filters, at the bottom, click Clear all filters.
The results area displays the total number of matching logs in the selected time range, a chart of log volume by severity, and a list of log entries. Each entry includes its timestamp, service.name, severity_text, and body. The list loads approximately 200 entries at a time and loads more as you page through the results.
View a Log Entry
To inspect a log entry, on the left of the entry, click the arrow.
In the Overview tab, you can view the log body and available attributes, such as timestamp, severity_number, severity_text, trace_id, span_id, service.name, and resource metadata. Use Filter attributes… to search for a specific attribute.
On the right, click an attribute to display its available actions:
Add to filters: Apply the selected attribute and value as a filter. The results reload with the filter applied, and then on the left, in the Filters panel, the filter is selected.
Remove filter: Remove the selected attribute and value from the applied filters. The results reload with the filter removed, and then on the left, in the Filters panel, the filter is unselected. This option appears when the attribute is already applied as a filter.
Add column: Display the selected attribute as a column in the results table.
Remove column: Remove the selected attribute from the results table. This option appears when the attribute is already displayed as a column.
Copy value: Copy the selected attribute’s value to your clipboard.
The available actions depend on the selected attribute.
If the log entry includes a trace_id or span_id value, click Span Details or Trace Details to open the related trace in the Traces tab.
Click the JSON tab to view the log entry’s structured data, including its timestamp, severity, body, trace and span IDs, service name, resource metadata, and additional attributes.
The data is organized into fields and expandable objects:
timestamp: The time the log entry was recorded.
severity_number and severity_text: The numeric and text representations of the log’s severity.
body: The log message.
trace_id and span_id: Identifiers associated with a trace or span, when available.
service_name: The service that generated the log.
resource: An expandable object containing resource metadata, such as resource.urn, service.name, and do.tags.
attributes: An expandable object containing additional metadata, such as resource.name and resource.region.slug.
Click an expandable object to display its nested fields. The root-level fields are common across log sources. The nested fields in the resource and attributes objects come from the resource that generated the log, so they vary by resource type. Logs you send using custom telemetry use the same structure.
Click an attribute to display its available actions:
Add to filters: Apply the selected attribute and value as a filter. The results reload with the filter applied, and then on the left, in the Filters panel, the filter is selected.
Remove filter: Remove the selected attribute and value from the applied filters. The results reload with the filter removed, and then on the left, in the Filters panel, the filter is unselected. This option appears when the attribute is already applied as a filter.
Add column: Display the selected attribute as a column in the results table.
Remove column: Remove the selected attribute from the results table. This option appears when the attribute is already displayed as a column.
Copy value: Copy the selected attribute’s value to your clipboard.
The available actions depend on the selected attribute.
View Logs Using Automation
You can search logs using the DigitalOcean CLI or API to retrieve log entries based on a region and specified search criteria. The Control Panel uses the same Search Logs API, so the DigitalOcean CLI and API support the same search criteria, filters, and time ranges. Each request queries one region.
View Logs via the CLI
To search logs, use the doctl insights logs search command with the --region flag. To narrow the results, add a search term with the --text flag or set the time range with the --from and --to flags.