Files
victorialogs-manager/backend/internal/services/logs_service.go
Claude Code c9b6c5bf74 feat: Create Log Query Service (Issue #12)
- Create LogsService with VictoriaLogs client integration
- Implement QueryLogs with role-based limits
- Implement StatsQuery for time-series data
- Implement GetFacets for field facets
- Implement TailLogs for real-time streaming
- Implement ExportLogs with format support
- Add query validation and safety checks
- Add role-based rate limiting (default/max limits per role)
- Auto-calculate appropriate time range and step

Closes #12

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-05 00:56:57 +03:00

7.7 KiB