# Flow Capture

## `[flowlog]`

Local Flow Capture is available free. It records flow diagnostics; it is not an IPFIX remote exporter or an HTTP body recording.

| Key | Default | Range |
|---|---|---|
| `enabled` | `false` | Boolean |
| `sampling-interval` | `1` | 1–1000000 |
| `active-timeout-seconds` | `5` | 1–3600 |
| `tcp-idle-timeout-seconds` | `120` | 2–86400 |
| `udp-idle-timeout-seconds` | `30` | 2–3600 |
| `fin-grace-seconds` | `5` | 1–300 |
| `max-flows-per-worker` | `4096` | 1–16384 |
| `capture-duration-seconds` | `0` | 0–86400; 0 means no duration limit |
| `retention-hours` | `24` | 1–720 |
| `max-database-rows` | `100000` | 1000–1000000 |

```ini
[flowlog]
enabled=true
sampling-interval=1
retention-hours=24
```
