# 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;

![](https://2997771214-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ll2YPh7b5O2frfEMtKk%2F-MKCgCcYJVIZ7pcrzEB9%2F-MKClIskrL86nj-k7WxX%2Fimage.png?alt=media\&token=cae09872-2c36-418a-be0e-6fb2acfb83f9)

{% 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.

![](https://2997771214-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ll2YPh7b5O2frfEMtKk%2F-MKCgCcYJVIZ7pcrzEB9%2F-MKCleRb1sogTQQZDl4P%2Fimage.png?alt=media\&token=d4ea38ac-8691-4d4f-9b03-7d9b9d9f53db)

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