Download Logs for Pipeline
complete
H
Historic Mole
Provide an option to download the pipeline execution logs
Log In
Canny AI
Merged in a post:
Full Log Download for Pipelines with Extensive Logs
U
Used Kite
Problem Statement:
For pipelines generating extensive logs, the initial lines are truncated or inaccessible in the Harness UI, making it difficult to diagnose issues effectively. Currently, there is no straightforward way to download complete log files for analysis via the UI.
Workarounds and Limitations:
Using the Harness API to fetch logs as a workaround has resulted in permission errors, even with seemingly correct API key and access scope configurations.
Partial log views in the UI limit troubleshooting capabilities, especially for pipelines with large logs.
Proposed Solution:
Introduce a feature in the Harness UI that allows users to input a pipeline URL and directly download the full log file. This enhancement would:
- Eliminate reliance on API workarounds or partial log views.
- Provide a seamless and user-friendly way to troubleshoot pipeline executions.
Impact and Benefits:
- Pipelines with extensive logs are a common scenario. A UI-based solution to access complete logs would improve the developer experience, enhance usability, and make troubleshooting more efficient and effective.
Rohan Gupta
Historic Mole please file a support ticket, the feature downloads logs for the entire pipeline execution, and the individual steps.
There is not one pipeline log file to download, each step generates its own log, its a collection of step logs grouped in a stage.
H
Historic Mole
Rohan Gupta Looks like the option to download logs is by individual step and not for entire execution. When clicked on download logs for the entire execution of the logs getting below error.
H
Historic Mole
Hello Rohan, It doesn't look like we can download the logs for the entire execution of the deploy and more of selection of stage / step. Is downloading entire execution logs not available ?
Rohan Gupta
complete
This feature is already released - https://developer.harness.io/docs/platform/pipelines/download-logs/