AILAP is a modern log analysis platform built with Go and Vue 3, designed to provide unified log querying, analysis, and AI-assisted diagnostics.
- Multi-Source Support: Supports Loki (LogQL) and Elasticsearch (Lucene) & VictoriaLogs (LogsQL) data sources.
- Structured Display: Automatically parse log information.
- Advanced Filtering: Support fuzzy search and value filtering.
- Intelligent Analysis: Integrates AI models for deep analysis of log content to quickly pinpoint root causes of anomalies.
- Interactive Chat: Provides a ChatGPT-like interface for context-aware questions about specific logs.
- Dynamic Avatar: The AI assistant's avatar automatically syncs with the currently configured default model's icon.
- Task Management: Create and manage scheduled monitoring tasks using Cron expressions.
- Multi-Channel Notifications: Support for Webhook and SMTP Email notifications.
- Keyword Detection: Automatically trigger alerts based on log keywords (e.g., "error", "exception").
- Multi-language Support: Switch seamlessly between English and Chinese (Simp).
- Model Management: Supports configuration for various LLM interfaces like OpenAI, Deepseek, Qwen, etc.
- Data Source Configuration: Visual management of log data sources with connectivity testing.
- Frontend: Vue 3, Vite, Arco Design Vue, Pinia
- Backend: Go (Gin), GORM (SQLite), Viper, Zap
- Deployment: Docker Multi-stage Build
- Docker (Recommended)
- Or Node.js 18+ & Go 1.21+
# Build the image
docker build -t ailap .
# Run the container (with data persistence)
docker run -d \
-p 8080:8080 \
-v $(pwd)/data:/app/data \
--name ailap \
ailapAccess the application at http://localhost:8080.
Backend
cd backend
go mod tidy
go run ./cmd
# Default port: 8080Frontend
cd frontend
npm install
npm run dev
# Access at http://localhost:5173- Username:
admin - Password:
admin123
Can be overridden via AILAP_ADMIN_USER and AILAP_ADMIN_PASS environment variables during Docker startup.

