# Log search and streaming

For: Developers

Search a project's logs in pages of up to 750 lines, or stream a service's output live.

## The problem

Debugging needs both the past (search) and the present (follow).

## How it works

1. Search logs by service, deployment, level, time and text. ([List logs](https://docs.dispralabs.com/api/list-logs.md))
2. Stream a service's output, starting from its last lines. ([Stream a service's logs](https://docs.dispralabs.com/api/stream-a-service-s-logs.md))
3. Follow a build until it ends. ([Stream a deployment's logs](https://docs.dispralabs.com/api/stream-a-deployment-s-logs.md))

## Limits

- A stream sends at most 750 lines at once; past that it reports a gap

## API

- `GET` [List logs](https://docs.dispralabs.com/api/list-logs.md)
- `GET` [Stream a deployment's logs](https://docs.dispralabs.com/api/stream-a-deployment-s-logs.md)
- `GET` [Stream a service's logs](https://docs.dispralabs.com/api/stream-a-service-s-logs.md)
