swtich from ELK to Loki!
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 40s

This commit is contained in:
Your Name
2025-09-20 12:01:25 +12:00
parent d32042e42d
commit f114773d78
62 changed files with 1121 additions and 2899 deletions

View File

@@ -1,34 +1,16 @@
# Service identification
CONTAINER_NAME=logclient-filebeat
# Log Client Configuration (Promtail)
CONTAINER_NAME=logclient
# Server settings (REQUIRED by dropshell)
SSH_USER="root"
# Docker image tag override (optional)
IMAGE_TAG="7.17.23"
# REQUIRED: Log server connection
LOGSERVER_HOST=
LOGSERVER_PORT=5044
LOGSERVER_PORT=3100
# REQUIRED: API Key Authentication
API_KEY="" # Get from logserver admin using generate-api-key.sh
# REQUIRED: Authentication (get from log server admin)
LOKI_USER=logclient
LOKI_PASSWORD=
# Performance tuning
BULK_MAX_SIZE=2048 # Maximum batch size
WORKER_THREADS=1 # Number of worker threads
QUEUE_SIZE=4096 # Internal queue size
MAX_BACKOFF=60s # Maximum retry backoff
# Filtering
EXCLUDE_CONTAINERS="" # Comma-separated container names to exclude
INCLUDE_CONTAINERS="" # Only include these containers (if set)
EXCLUDE_LABELS="" # Exclude containers with these labels
INCLUDE_LABELS="" # Only include containers with these labels
# Additional log paths
CUSTOM_LOG_PATHS="" # Comma-separated additional paths to monitor
# Resource limits
MAX_CPU=50 # Maximum CPU usage percentage
MAX_MEMORY=200MB # Maximum memory usage
# Optional: Set a custom hostname label (defaults to actual hostname)
# HOSTNAME_LABEL=