File: //etc/logdna.yaml
http:
host: logs.logdna.com
endpoint: /logs/agent
use_ssl: true
timeout: 10000
use_compression: true
gzip_level: 2
params:
hostname: ~
mac: ~
ip: ~
tags: ~
body_size: 2097152
retry_dir: /tmp/logdna
ingestion_key: 07781e446dbb078793462b4206bf0af4
log:
dirs:
- /var/log/
- /home/control/logs/
- /var/opt/remi/php*/log/php-fpm/
- /root/logs/
- /var/lib/pgsql/11/data/log/ ##<--- what log paths are here to watch?
include:
glob
- "/home/control/logs/server.log"
- "/var/log/maillog"
- "/var/log/httpd/error_log"
- "/root/logs/backup_status.json"
- "/var/log/messages"
- "/var/opt/remi/php*/log/php-fpm/error.log
- "*.log" ##<<--- This is saying to search every directory in the log.dirs for .log extentions
regex: []
exclude:
glob:
- /var/log/atop
- /var/log/fail2ban.log
- /var/log/secure
- /var/log/Acronis
- /var/log/wtmp
- /var/log/btmp
- /var/log/utmp
- /var/log/wtmpx
- /var/log/btmpx
- /var/log/utmpx
- /var/log/asl/**
- /var/log/sa/**
- /var/log/sar*
- /var/log/tallylog
- /var/log/fluentd-buffers/**/*
- /var/log/pods/**/*
regex: []
log_metric_server_stats: ~
clear_cache_interval: 21600
journald:
systemd_journal_tailer: false
paths: []
startup: {}