2026-07-15 09:37:43 +03:30
|
|
|
# daena configuration
|
|
|
|
|
# Path: /etc/daena/daena.yaml
|
|
|
|
|
|
|
|
|
|
data_dir: /var/lib/daena
|
|
|
|
|
log_dir: /var/log/daena
|
|
|
|
|
pid_file: /run/daena/daena.pid
|
|
|
|
|
|
|
|
|
|
logging:
|
|
|
|
|
level: info
|
|
|
|
|
format: json
|
2026-10-14 01:56:37 +03:30
|
|
|
verbose: false
|
2026-07-15 09:37:43 +03:30
|
|
|
|
|
|
|
|
api:
|
2026-07-15 10:48:18 +03:30
|
|
|
grpc:
|
2026-07-15 09:37:43 +03:30
|
|
|
host: 127.0.0.1
|
|
|
|
|
port: 8642
|
2026-07-15 10:48:18 +03:30
|
|
|
max_workers: 10
|
2026-10-14 01:56:37 +03:30
|
|
|
metrics:
|
|
|
|
|
enabled: true
|
|
|
|
|
host: 127.0.0.1
|
|
|
|
|
port: 8643
|
2026-07-15 09:37:43 +03:30
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
|
batch_size: 100
|
|
|
|
|
flush_interval: 5.0
|
|
|
|
|
max_queue_size: 10000
|
|
|
|
|
|
2026-10-14 01:56:37 +03:30
|
|
|
retention:
|
|
|
|
|
delivered_ttl_seconds: 86400
|
|
|
|
|
dead_ttl_seconds: 604800
|
|
|
|
|
interval_seconds: 60
|
|
|
|
|
|
|
|
|
|
health:
|
|
|
|
|
max_pending_age_seconds: 300
|
|
|
|
|
|
|
|
|
|
# journald source, enricher, filter, and loki sink are registered plugins.
|
|
|
|
|
# Example:
|
|
|
|
|
# sources:
|
|
|
|
|
# - name: system
|
|
|
|
|
# type: journald
|
|
|
|
|
# options:
|
|
|
|
|
# units: ["ssh.service"]
|
|
|
|
|
# cursor_path: /var/lib/daena/journal.cursor
|
|
|
|
|
# processors:
|
|
|
|
|
# - name: host
|
|
|
|
|
# type: enricher
|
|
|
|
|
# options:
|
|
|
|
|
# hostname: true
|
|
|
|
|
# static:
|
|
|
|
|
# env: prod
|
|
|
|
|
# - name: drop_debug
|
|
|
|
|
# type: filter
|
|
|
|
|
# options:
|
|
|
|
|
# drop:
|
|
|
|
|
# body.priority: "7"
|
|
|
|
|
# sinks:
|
|
|
|
|
# - name: loki
|
|
|
|
|
# type: loki
|
|
|
|
|
# options:
|
|
|
|
|
# url: http://127.0.0.1:3100/loki/api/v1/push
|
|
|
|
|
# labels:
|
|
|
|
|
# job: daena
|
|
|
|
|
|
2026-07-15 09:37:43 +03:30
|
|
|
persistence:
|
|
|
|
|
backend: lmdb
|
|
|
|
|
lmdb:
|
|
|
|
|
path: /var/lib/daena/data
|
|
|
|
|
map_size: 104857600
|
|
|
|
|
max_databases: 16
|
|
|
|
|
|
|
|
|
|
sources:
|
|
|
|
|
- name: dummy
|
|
|
|
|
type: dummy
|
|
|
|
|
enabled: true
|
|
|
|
|
options:
|
|
|
|
|
interval: 5.0
|
|
|
|
|
message: "daena heartbeat"
|
|
|
|
|
|
|
|
|
|
processors:
|
|
|
|
|
- name: passthrough
|
|
|
|
|
type: passthrough
|
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
|
|
sinks:
|
|
|
|
|
- name: log
|
|
|
|
|
type: dummy
|
|
|
|
|
enabled: true
|
|
|
|
|
options: {}
|