Loading...
Loading...
Log exploration and analysis using Quickwit search engine. Incident investigation, error pattern analysis, and observability workflows. Three index discovery modes for different performance and convenience trade-offs.
npx skill4agent add terraphim/terraphim-skills quickwit-log-search{
"location": "http://localhost:7280",
"service": "Quickwit",
"extra_parameters": {
"default_index": "workers-logs",
"max_hits": "100",
"sort_by": "-timestamp"
}
}| Metric | Value |
|---|---|
| API Calls | 1 |
| Latency | ~100ms |
| Use Case | Production monitoring |
{
"location": "http://localhost:7280",
"service": "Quickwit",
"extra_parameters": {
"max_hits": "50",
"sort_by": "-timestamp"
}
}| Metric | Value |
|---|---|
| API Calls | N+1 |
| Latency | ~300-500ms |
| Use Case | Exploration |
{
"location": "http://localhost:7280",
"service": "Quickwit",
"extra_parameters": {
"index_filter": "workers-*",
"max_hits": "100",
"sort_by": "-timestamp"
}
}| Metric | Value |
|---|---|
| API Calls | N+1 (filtered) |
| Latency | ~200-400ms |
| Use Case | Multi-service patterns |
# Simple text search
/search error
# Phrase search
/search "connection refused"
# Wildcard
/search err*# Log level
/search "level:ERROR"
/search "level:WARN OR level:ERROR"
# Service name
/search "service:api-gateway"
# Combined
/search "level:ERROR AND service:auth"# After a date
/search "timestamp:[2024-01-01 TO *]"
# Between dates
/search "timestamp:[2024-01-01 TO 2024-01-31]"
# Combined with level
/search "level:ERROR AND timestamp:[now-1h TO now]"# AND (both required)
/search "error AND database"
# OR (either matches)
/search "error OR warning"
# NOT (exclude)
/search "error NOT timeout"
# Grouping
/search "(error OR warning) AND database"{
"extra_parameters": {
"auth_token": "Bearer your-token-here",
"default_index": "logs"
}
}# Set password from 1Password
export QUICKWIT_PASSWORD=$(op read "op://Private/Quickwit/password")
# Config
{
"extra_parameters": {
"auth_username": "cloudflare",
"auth_password": "${QUICKWIT_PASSWORD}"
}
}/search "level:ERROR"/search "level:ERROR AND timestamp:[2024-01-15T10:00:00Z TO 2024-01-15T11:00:00Z]"/search "level:ERROR AND service:payment-api"/search "timeout OR connection refused"/search "level:ERROR"/search "level:ERROR AND message:*database*"
/search "level:ERROR AND message:*timeout*"
/search "level:ERROR AND message:*authentication*"/search "duration:>1000"/search "path:/api/users AND duration:>500"| Parameter | Type | Default | Description |
|---|---|---|---|
| string | none | Explicit index to search |
| string | none | Glob pattern for auto-discovery |
| string | "100" | Maximum results per index |
| string | "-timestamp" | Sort field (- for descending) |
| string | "10" | HTTP request timeout |
| string | none | Bearer token |
| string | none | Basic auth username |
| string | none | Basic auth password |
curl http://localhost:7280/health/api/v1/# Correct
curl http://localhost:7280/api/v1/indexes
# Incorrect (returns "Route not found")
curl http://localhost:7280/v1/indexescurl http://localhost:7280/api/v1/indexes | jq '.[].index_config.index_id'curl "http://localhost:7280/api/v1/workers-logs/search?query=*&max_hits=10"| Property | Value |
|---|---|
| Type | Data Integration |
| Complexity | Medium |
| Dependencies | Quickwit server, Terraphim AI |
| Status | Production Ready |