27 lines
650 B
YAML
27 lines
650 B
YAML
|
|
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
|