deployments_components_logs
Creates, updates, deletes, gets or lists a deployments_components_logs
resource.
Overview
Name | deployments_components_logs |
Type | Resource |
Id | digitalocean.apps.deployments_components_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 | SELECT | app_id, component_name, deployment_id, type | 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
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 }}';