Files
logcorrelator/config.example.yml
Jacquin Antoine 56c2923121
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.6 - simplify YAML configuration
- Remove service.name and service.language (unused)
- Remove enabled flags on outputs (presence = enabled)
- Simplify correlation config: time_window_s (integer) instead of nested object
- Simplify orphan_policy to emit_orphans boolean
- Rename apache socket to http.socket
- Add socket_permissions option for unix sockets (default: 0660)
- Update tests for new configuration format

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

29 lines
628 B
YAML

# logcorrelator configuration file
# Format: YAML
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