fix
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
Service: logs
|
Service: logs
|
||||||
Port: 12440
|
Port: 12440
|
||||||
|
|
||||||
Databases:
|
Databases:
|
||||||
Driver: postgres
|
Driver: postgres
|
||||||
Source:
|
Source:
|
||||||
- host=8.137.107.29 user=postgres password=Weidong2023~! dbname=ops_dev port=19432 sslmode=disable TimeZone=Asia/Shanghai
|
- host=8.137.107.29 user=postgres password=Weidong2023~! dbname=ops_dev port=19432 sslmode=disable TimeZone=Asia/Shanghai
|
||||||
|
# - host=8.137.107.29 user=system password=12345678 dbname=ops port=54321 sslmode=disable TimeZone=Asia/Shanghai
|
||||||
|
|
||||||
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
# cache DB的选择请在后面直接带参数,不带会自动HASH计算选择DB库。
|
||||||
Cache: redis://null:Weidong2023~!@8.137.107.29:19379/
|
Cache: redis://null:Weidong2023~!@8.137.107.29:19379/
|
||||||
|
|||||||
31
etc/logs_prod.yaml
Normal file
31
etc/logs_prod.yaml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
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
|
||||||
|
# - host=8.137.107.29 user=system password=12345678 dbname=ops port=54321 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://ops-api.apinb.com
|
||||||
|
internal_key: "ops-alert"
|
||||||
|
default_policy_id: 0
|
||||||
|
|
||||||
|
ResourceEvent:
|
||||||
|
hmac_secret: "replace-with-dc-control-shared-secret"
|
||||||
|
max_skew_secs: 300
|
||||||
Reference in New Issue
Block a user