Skip to main content

Get Log

Get a specific log from a pipeline run.

External Documentation

To learn more, visit the Azure DevOps documentation.

Basic Parameters

ParameterDescription
Log IDThe unique identifier assigned to a specific log file generated during a pipeline run.
You can get the Log ID using the List Logs action.
OrganizationThe Azure DevOps Organization. You can view the Organizations list in the Azure DevOps Organizations page.
Pipeline IDThe unique identifier of the pipeline. You can find the Pipeline ID by navigating to the Pipelines tab of the project where the pipeline is defined.
You can find the desired project by navigating to the Azure DevOps Projects page.
ProjectThe Project ID or Project name. You can view the Projects list in the Azure DevOps Projects page.
Run IDThe unique identifier for a particular run of a pipeline.
The run ID can be obtained from the URL of the pipeline run in the Azure DevOps.
You can also get the Run ID using the List Runs action.

Advanced Parameters

ParameterDescription
ExpandWhether or not to include additional details in the response. Default is none.

Example Output

{
"createdOn": "The date and time the log was created.",
"id": 0,
"lastChangedOn": "The date and time the log was last changed.",
"lineCount": 0,
"signedContent": {
"signatureExpires": "Timestamp when access expires.",
"url": "The URL to allow access to."
},
"url": "string"
}

Workflow Library Example

Get Log with Azure Devops and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop