Implement Log Query API Endpoints #13

Closed
opened 2026-02-04 23:08:33 +01:00 by ilker · 0 comments
Owner

Priority: High
Estimated Time: 3 hours

Tasks:

  • Create logs handlers
  • Implement QueryLogs endpoint
  • Implement StatsQuery endpoint
  • Implement GetFacets endpoint
  • Implement TailLogs with NDJSON streaming
  • Implement ExportLogs with JSON/CSV formats
  • Update router

Files to Create:

  • backend/internal/api/handlers/logs.go

Acceptance Criteria:

  • POST /api/v1/logs/query works
  • POST /api/v1/logs/stats works
  • POST /api/v1/logs/facets works
  • POST /api/v1/logs/tail streams NDJSON
  • POST /api/v1/logs/export returns files
**Priority:** High **Estimated Time:** 3 hours **Tasks:** - Create logs handlers - Implement QueryLogs endpoint - Implement StatsQuery endpoint - Implement GetFacets endpoint - Implement TailLogs with NDJSON streaming - Implement ExportLogs with JSON/CSV formats - Update router **Files to Create:** - `backend/internal/api/handlers/logs.go` **Acceptance Criteria:** - [ ] POST /api/v1/logs/query works - [ ] POST /api/v1/logs/stats works - [ ] POST /api/v1/logs/facets works - [ ] POST /api/v1/logs/tail streams NDJSON - [ ] POST /api/v1/logs/export returns files
ilker added this to the Milestone 2: VictoriaLogs Integration milestone 2026-02-04 23:08:33 +01:00
ilker added this to the VictoriaLogs Manager project 2026-02-04 23:09:15 +01:00
ilker closed this issue 2026-02-04 23:09:34 +01:00
ilker moved this to Done in VictoriaLogs Manager on 2026-02-04 23:10:50 +01:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ilker/victorialogs-manager#13