deployments_logs
Creates, updates, deletes, gets or lists a deployments_logs
resource.
Overview
Name | deployments_logs |
Type | Resource |
Id | digitalocean.apps.deployments_logs |
Fields
Name | Datatype | Description |
---|---|---|
historic_urls | array | |
live_url | string | A 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
Name | Accessible by | Required Params | Description |
---|---|---|---|
apps_get_logs_aggregate | SELECT | app_id, deployment_id, type | 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
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 }}';