Skip to main content

deployments_logs

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

Overview

Namedeployments_logs
TypeResource
Iddigitalocean.apps.deployments_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_logs_aggregateSELECTapp_id, deployment_id, typeRetrieve the logs of a past, in-progress, or active deployment. If a component name is specified, the logs will be limited to only that component. 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. If a component name is specified, the logs will be limited to only that component. 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_logs
WHERE app_id = '{{ app_id }}'
AND deployment_id = '{{ deployment_id }}'
AND type = '{{ type }}';