Files
logcorrelator/config.example.yml
Jacquin Antoine a3ae5421cf
Some checks failed
Build and Test / test (push) Has been cancelled
Build and Test / build (push) Has been cancelled
Build and Test / docker (push) Has been cancelled
chore: version 1.0.7 - add log levels
- Add configurable log levels: DEBUG, INFO, WARN, ERROR
- Replace debug.enabled with log.level in configuration
- Add Warn/Warnf methods for warning messages
- Log orphan events and buffer overflow as WARN
- Log parse errors as WARN
- Log raw events and correlations as DEBUG

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-01 02:33:04 +01:00

33 lines
700 B
YAML

# logcorrelator configuration file
# Format: YAML
# Logging configuration
log:
level: INFO # DEBUG, INFO, WARN, ERROR
inputs:
unix_sockets:
- name: http
path: /var/run/logcorrelator/http.socket
format: json
socket_permissions: "0660" # owner + group read/write
- name: network
path: /var/run/logcorrelator/network.socket
format: json
socket_permissions: "0660"
outputs:
file:
path: /var/log/logcorrelator/correlated.log
clickhouse:
dsn: clickhouse://user:pass@localhost:9000/db
table: correlated_logs_http_network
stdout: false
correlation:
time_window_s: 1
emit_orphans: true # http toujours émis, network jamais seul