Skip to main content

logs

Overview

Namelogs
TypeResource
Iddigitalocean.apps.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
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.
get_logs_active_deploymentSELECTapp_id, component_name, typeRetrieve the logs of the active deployment if one exists. The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment. Note log_type=BUILD logs will return logs associated with the current active deployment (being served). To view build logs associated with in-progress build, the query must explicitly reference the deployment id.
get_logs_active_deployment_aggregateSELECTapp_id, typeRetrieve the logs of the active deployment if one exists. The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment. Note log_type=BUILD logs will return logs associated with the current active deployment (being served). To view build logs associated with in-progress build, the query must explicitly reference the deployment id.
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.