Search & Filter
LogPeak provides powerful search capabilities to help you find the log entries you need.
Search Bar
Type in the search bar at the top of the log viewer to filter entries. Results update in real-time.
Query Syntax
LogPeak uses a Lucene-like query syntax:
| Syntax | Example | Description |
|---|---|---|
| Free text | timeout | Search across all fields |
| Field search | level:error | Search a specific field |
| Phrase | "connection refused" | Exact phrase match |
| Wildcard | message:deploy* | Prefix matching |
| AND | error AND timeout | Both terms must match |
| OR | error OR warning | Either term matches |
| NOT | NOT debug | Exclude matching entries |
Combined Queries
Combine operators for precise filtering:
level:error AND message:"database connection" AND NOT service:healthcheck
Log Level Filter
Quick-filter by log level (DEBUG, INFO, WARN, ERROR) using the level badges. Click to toggle each level on or off.
Column Customization
Customize which fields are shown in the table:
- Add columns — Open the log detail view, click a field to add it as a column
- Remove columns — Right-click a column header to remove it
- Reorder columns — Drag column headers to rearrange
- Resize columns — Drag the column border to adjust width
Your column layout is saved per log view.
Log Detail View
Click any log entry to open the detail view. It shows:
- Full JSON tree with syntax highlighting
- Expandable nested objects
- Add to query — Click a field value to add it as a filter
- Exclude from query — Click to exclude a specific value
- Copy — Copy individual field values to clipboard