Skip to main content

deployments_components_logs

Creates, updates, deletes, gets or lists a deployments_components_logs resource.

Overview

Namedeployments_components_logs
TypeResource
Iddigitalocean.apps.deployments_components_logs

Fields

NameDatatypeDescription
historic_urlsarray
live_urlstringA URL of the real-time live logs. This URL may use either the https:// or wss:// protocols and will keep pushing live logs as they become available.

Methods

NameAccessible byRequired ParamsDescription
apps_get_logsSELECTapp_id, component_name, deployment_id, typeRetrieve the logs of a past, in-progress, or active deployment. The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment.

SELECT examples

Retrieve the logs of a past, in-progress, or active deployment. The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment.

SELECT
historic_urls,
live_url
FROM digitalocean.apps.deployments_components_logs
WHERE app_id = '{{ app_id }}'
AND component_name = '{{ component_name }}'
AND deployment_id = '{{ deployment_id }}'
AND type = '{{ type }}';