
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 39s
31 lines
1022 B
Bash
31 lines
1022 B
Bash
# Service identification
|
|
CONTAINER_NAME=logclient-filebeat
|
|
|
|
# Docker image tag override (optional)
|
|
IMAGE_TAG="7.17.23"
|
|
|
|
# REQUIRED: Log server connection
|
|
LOGSERVER_HOST=
|
|
LOGSERVER_PORT=5044
|
|
|
|
# REQUIRED: API Key Authentication
|
|
API_KEY="" # Get from logserver admin using generate-api-key.sh
|
|
|
|
# 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 |