fcakyon/claude-codex-settings / plugins/openobserve-skills/skills/openobserve-api
openobserve-api
UnverifiedThis skill should be used when user asks to "query OpenObserve", "create OpenObserve dashboard", "edit OpenObserve panel", "fetch OpenObserve logs", "run OpenObserve search", "list OpenObserve streams", "ingest into OpenObserve", or works with OpenObserve Cloud / self-hosted via REST API. Covers auth, search/SQL, streams, dashboards (CRUD + per-panel ops), the v8 panel JSON schema, and known pitfalls (re-aggregation, hash concurrency, microsecond timestamps).
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 16.1 KB |
| references/around.md | markdown | 2.5 KB |
| references/bulk.md | markdown | 7.0 KB |
| references/delete.md | markdown | 10.8 KB |
| references/index.md | markdown | 1.7 KB |
| references/json.md | markdown | 6.8 KB |
| references/list.md | markdown | 2.7 KB |
| references/loki.md | markdown | 2.8 KB |
| references/multi.md | markdown | 5.2 KB |
| references/otlp.md | markdown | 4.4 KB |
| references/recipes/build-dashboard.shexecutable | script | 1.5 KB |
| references/recipes/search-logs.shexecutable | script | 683 B |
| references/recipes/update-panel.shexecutable | script | 884 B |
| references/schema.md | markdown | 2.6 KB |
| references/search.md | markdown | 13.3 KB |
| references/setting.md | markdown | 5.8 KB |
| references/value.md | markdown | 1.9 KB |
references/around.md
View on GitHub---
title: Around
description: Search around a specific timestamp to fetch nearby log records using GET /_around with forward and backward context in a 5-minute window.
---
# Search around
Endpoint: `GET /api/{organization}/{stream}/_around?key={timestamp}&size=10`
## Request
Description
| Field name | Data type | Default value | Description |
|------------|-----------|---------------|-------------|
| stream | string | - | stream name |
| key | int64 | 0 | the `_timestamp` of the record what you want to search around |
| size | int64 | 0 | how many records do you want to response around the record, we will search the record forward & backward 5 minutes |
## Response
```json
{
"took": 155,
"hits": [
{
"_p": "F",
"_timestamp": 1674213225158000,
"kubernetes": {
"annotations": {
"kubernetes": {
"io/psp": "eks.privileged"
}
},
"container_hash": "dkr.ecr.us-west-2.amazonaws.com/ziox@sha256:3dbbb0dc1eab2d5a3b3e4a75fd87d194e8095c92d7b2b62e7cdbd07020f54589",
"container_image": "dkr.ecr.us-west-2.amazonaws.com/ziox:v0.0.3",
"container_name": "ziox",
"docker_id": "eb0983bdb9ff9360d227e6a0b268fe3b24a0868c2c2d725a1516c11e88bf5789",
"host": "ip.us-east-2.compute.internal",
"labels": {
"app": "ziox",
"controller-revision-hash": "ziox-ingester-579b7767cf",
"name": "ziox-ingester",
"role": "ingester",
"statefulset": {
"kubernetes": {
"io/pod-name": "ziox-ingester-0"
}
}
},
"namespace_name": "ziox",
"pod_id": "35a0421f-9203-4d73-9663-9ff0ce26d409",
"pod_name": "ziox-ingester-0"
},
"log": "[2023-01-20T11:13:45Z INFO actix_web::middleware::logger] 10.2.80.192 \"POST /api/demo/_bulk HTTP/1.1\" 200 68 \"-\" \"go-resty/2.7.0 (https://github.com/go-resty/resty)\" 0.001074",
"stream": "stderr"
}
],
"total": 10,
"from": 0,
"size": 0,
"scan_size": 28943
}
```
Response description:
Description
| Field name | Data type | Default value | Description |
|------------|-----------|---------------|-------------|
| took | int64 | - | unit: milliseconds, query execute time |
| from | int64 | 0 | value from `query.from` |
| size | int64 | 0 | value from `query.size` |
| scan_size | int64 | 0 | unit: MB, it response the data size scale when execute the query. |
| hits | array | - | records for query, each record is a log row what you ingested. |
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |