Files
logs/etc/logs_dev.yaml
2026-03-30 15:26:16 +08:00

27 lines
650 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Service: logs
Port: 12440
Databases:
Driver: postgres
Source:
- host=8.137.107.29 user=postgres password=Weidong2023~! dbname=ops_dev port=19432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:Weidong2023~!@8.137.107.29:19379/
MicroService:
Enable: false
Anonymous:
- ops.ping.hello
Ingest:
syslog_listen_addr: "0.0.0.0:5514"
trap_listen_addr: "0.0.0.0:9162"
rule_refresh_secs: 30
AlertForward:
enabled: true
base_url: https://ops2.apinb.com
internal_key: "ops-alert"
default_policy_id: 0