Claude Code 158b9a1630 feat: Create VictoriaLogs HTTP Client (Issue #11)
- Create VictoriaLogs client package
- Implement Query method for LogsQL queries
- Implement StatsQuery for time-series stats
- Implement GetFacets for field facets
- Implement GetStreamIDs for stream identification
- Implement Tail for real-time log streaming
- Add Ingest method for testing
- Define all data models (LogEntry, QueryResult, etc.)
- Add comprehensive error handling

Closes #11

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

VictoriaLogs Manager

A comprehensive web application for managing VictoriaLogs with alerting, advanced reporting, and malicious pattern detection.

Features

  • Log Exploration: Query and search logs using LogsQL with visual query builder
  • Alert Management: Create and manage vmalert rules with YAML editor
  • Pattern Detection: Find malicious patterns using regex and ML-based anomaly detection
  • Reports & Dashboards: Fancy visualizations and custom reports
  • Role-Based Access: Admin, Editor, Analyst, and Viewer roles

Tech Stack

  • Backend: Go (Gin framework)
  • Frontend: React + TypeScript + Vite
  • Database: PostgreSQL
  • ML Service: Python (FastAPI + scikit-learn)
  • Deployment: Docker Compose

Project Structure

victorialogs-manager/
├── backend/          # Go API server
├── frontend/         # React SPA
├── ml-service/       # Python ML service
└── docker-compose.yml

Getting Started

Prerequisites

  • Go 1.21+
  • Node.js 18+
  • Python 3.11+
  • Docker & Docker Compose

Quick Start with Docker

# Copy environment file
cp .env.example .env

# Edit .env with your configuration
nano .env

# Start all services
docker-compose up -d

The application will be available at:

Development Setup

Backend

cd backend
go mod download
go run cmd/server/main.go

Frontend

cd frontend
npm install
npm run dev

ML Service

cd ml-service
pip install -r requirements.txt
uvicorn app.main:app --reload

Configuration

See .env.example for all available configuration options.

Documentation

License

MIT

Description
A comprehensive web application for managing VictoriaLogs with alerting, advanced reporting, and malicious pattern detection
Readme 93 KiB
Languages
Go 71.6%
TypeScript 17.5%
PLpgSQL 4.5%
Python 2.8%
Dockerfile 1.7%
Other 1.9%