# Log search & filtering

### Overview

Infra App automatically streams live logs from all of the pods and containers of a workload, including:

* Sidecar containers
* Init containers

{% hint style="info" %}
To avoid fetching excessive data, Infra App streams your application's *most recent* 50 pods.
{% endhint %}

### Filtering Logs

To filter logs by a specific container , click the container dropdown.&#x20;

![](/files/-MKClIskrL86nj-k7WxX)

{% hint style="info" %}
The container filter will only show if there are multiple containers to filter.&#x20;
{% endhint %}

### Searching Logs

Searching logs works like a regular web browser or text editor - Infra App will automatically jump to the first result.

![](/files/-MKCleRb1sogTQQZDl4P)

{% hint style="info" %}
Press **Enter** to cycle to the next search result, and **Shift + Enter** to cycle backwards.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.infra.app/features/log-streaming.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
