> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/harness-platform/use-harness-platform/pipelines/executions-and-logs/searching-the-console-view.md). Agents can also search and read this documentation through its [MCP server](https://developer.harness.io/~gitbook/mcp).

# Search the console view

Search pipeline execution logs in the console view using the built-in search functionality and keyboard shortcuts.

{% hint style="success" %}
This feature is in [Limited GA](#user-content-fn-1)[^1] and requires enablement. [View all early access features.](https://developer.harness.io/release-notes/features.md)

{% @harness-feature-flag-access/request-feature-flag-access module="platform" pagePath="platform/use-harness-platform/pipelines/executions-and-logs/searching-the-console-view" pageTitle="Search%20the%20console%20view" featureFlags="%5B%7B%22name%22%3A%22Collapsible%20Step%20Groups%20in%20the%20Console%20View%22%2C%22key%22%3A%22PIPE\_EXECUTION\_VIEW\_COLLAPSIBLE\_STEP\_GROUP%22%2C%22status%22%3A%22LIMITED\_GA%22%2C%22description%22%3A%22Lets%20you%20collapse%20and%20expand%20step%20groups%20in%20the%20console%20view%20of%20pipeline%20executions%20and%20resize%20the%20steps%20list%2C%20making%20it%20easier%20to%20navigate%20pipelines%20with%20large%20or%20nested%20step%20groups.%22%7D%5D" %}
{% endhint %}

After running a pipeline in Harness, you can view execution details that include logs and other outputs. The console view provides a built-in search feature to help you quickly find specific log entries, errors, or patterns in your execution logs.

***

## What you will learn from this topic

* How to [search step logs](#search-step-logs) in the console view.
* How to use [keyboard shortcuts](#console-search-keyboard-shortcuts) to navigate search results efficiently.
* How to [configure log settings](#configure-log-settings) for log level and timestamp display preferences.
* How to [collapse and expand step groups](#collapse-and-expand-step-groups) and resize the steps list in the console view.

***

## Before you begin

* **Harness account access:** You need access to a Harness account with pipelines. For how to access or create a Harness account, see [Getting started with Harness Platform](https://developer.harness.io/harness-platform/new-to-harness-platform/get-started.md).
* **Pipeline execution permissions:** You need **View** permission on [Pipelines](https://developer.harness.io/harness-platform/use-harness-platform/platform-access-control/permissions-reference.md#pipelines) to view execution details and search logs. To get this permission, an administrator must assign you a role that includes it. Go to [RBAC in Harness](https://developer.harness.io/harness-platform/use-harness-platform/platform-access-control.md) to understand role-based access control and [Manage roles](https://developer.harness.io/harness-platform/use-harness-platform/platform-access-control/add-manage-roles.md) to configure role assignments.
* **Completed pipeline execution:** You need at least one completed pipeline execution to search its logs. Go to [Get started with Harness](https://developer.harness.io/docs/continuous-integration/get-started/onboarding-guide) to run your first pipeline.

***

## Console search keyboard shortcuts

Use the following keyboard shortcuts to navigate search results efficiently:

| Shortcut                                        | Action                             |
| ----------------------------------------------- | ---------------------------------- |
| `CMD + F` (macOS) or `Ctrl + F` (Windows/Linux) | Enable search                      |
| `Up` arrow                                      | Move to the previous search result |
| `Down` arrow or `Enter`                         | Move to the next search result     |
| `Esc`                                           | Clear and exit search              |

***

## Search step logs

Perform the following steps to search logs for a specific step in your pipeline execution:

1. Navigate to the execution details page.
2. Enable **Console View** if it is not already enabled.
3. Select the step that contains the logs you want to search.
4. In the **Console Logs** panel, select the **Search** icon, or use the find-in-page keyboard shortcut:
   * **macOS:** `CMD + F`
   * **Linux or Windows:** `Ctrl + F`
5. Enter your search query in the search field. Harness immediately highlights all matching results in the console logs.

***

## Configure log settings

You can configure your preferences for log level filtering and timestamp display.

Perform the following steps to configure log settings:

1. Navigate to the execution details page.
2. Enable **Console View** if it is not already enabled.
3. In the **Console Logs** panel, select the **Settings** icon.
4. Configure your log settings and select **Enable** to apply your settings.

Your log settings preferences are saved for your user session.

***

## Collapse and expand step groups

In the console view, the steps list shows step groups and parallel steps as sections that you can collapse and expand. This makes it easier to navigate pipelines with large or nested step groups.

Perform the following steps to collapse or expand a step group:

1. Navigate to the execution details page.
2. Enable **Console View** if it is not already enabled.
3. In the steps list, select the chevron to the left of a step group name to collapse or expand it.

All step groups are expanded when the execution opens, and you can keep more than one expanded at the same time.

To make the steps list wider or narrower, drag the divider between the steps list and the log panel.

For stages that run more than once through a looping strategy, such as a matrix, the steps list shows the duration of each run next to its name.

***

## Next steps

* [View and compare pipeline executions](https://developer.harness.io/harness-platform/use-harness-platform/pipelines/executions-and-logs/view-and-compare-pipeline-executions.md): View compiled YAML and compare execution differences.
* [Download execution logs](https://developer.harness.io/harness-platform/use-harness-platform/pipelines/executions-and-logs/download-logs.md): Download logs from pipeline executions for offline analysis.
* [Troubleshoot pipeline executions](https://developer.harness.io/harness-platform/use-harness-platform/pipelines/troubleshoot-pipeline-executions.md): Resolve issues with console view, log display, and search functionality.

{% @harness-feedback/feedback module="harness-ai" pagePath="harness-ai/use-harness-platform/pipelines/executions-and-logs/searching-the-console-view" %}

[^1]: On by default, ready for production use and rolling out to every Harness environment incrementally. If you want it before it reaches your environment, request access and Harness will turn it on for your account. Rollout happens in stages, so a feature can reach some environments a week or two before others. Harness can also turn it off via the same **Request access** process for your account if you need it off.
