Sign inSign up

ftsiadimos/logradaraiq

By ftsiadimos

•Updated about 1 month ago

A powerful log monitoring and analysis application using local AI (Ollama)

Image
Monitoring & observability
Web analytics
0

2.8K

ftsiadimos/logradaraiq repository overview

⁠🛡️ LogRadarAI — LogAI Monitor ✅

A powerful log monitoring and analysis application that collects logs from Linux servers (via rsyslog) and Docker containers, analyzes them using local AI (Ollama), and sends intelligent alerts via Telegram.

Github https://github.com/ftsiadimos/LogRadarAI⁠

Feature requests, bug reports, and other contributions are welcome. The best way is to open an issue on GitHub⁠.

Run the official image exposing the default app port (5059):

Docker Compose (example):

version: '3.8'
services:
  logaimonitor:
    image: ftsiadimos/logradaraiq
    container_name: logaimonitor
    restart: unless-stopped
    ports:
      - "5059:5059"      # Web UI
      - "5514:5514/udp"  # Syslog UDP
      - "5515:5515/tcp"  # Syslog TCP
    environment:
      - SECRET_KEY=${SECRET_KEY:-change-this-secret-key}
      - REDIS_HOST=redis
      - REDIS_PORT=6379
      - OLLAMA_HOST=${OLLAMA_HOST:-http://host.docker.internal:11434}
      - OLLAMA_MODEL=${OLLAMA_MODEL:-llama3.2}
      - TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN:-}
      - TELEGRAM_CHAT_ID=${TELEGRAM_CHAT_ID:-}
      - LOG_RETENTION_HOURS=${LOG_RETENTION_HOURS:-168}
      - ANALYSIS_INTERVAL_SECONDS=${ANALYSIS_INTERVAL_SECONDS:-300}
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
    depends_on:
      redis:
        condition: service_healthy
    networks:
      - logaimonitor-net
    extra_hosts:
      - "host.docker.internal:host-gateway"

  redis:
    image: redis:7-alpine
    container_name: logaimonitor-redis
    restart: unless-stopped
    volumes:
      - redis-data:/data
    command: redis-server --appendonly yes
    networks:
      - logaimonitor-net
    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
      interval: 10s
      timeout: 5s
      retries: 5

volumes:
  redis-data:
networks:
  logaimonitor-net:
    driver: bridge

Start it:

docker-compose up -d

Default Credentials: Username: admin / Password: admin

⁠📸 Screenshot

Alt text

Tag summary

Content type

Image

Digest

sha256:4b0c95be8…

Size

121 MB

Last updated

about 1 month ago

docker pull ftsiadimos/logradaraiq