fix
This commit is contained in:
26
etc/logs_dev.yaml
Normal file
26
etc/logs_dev.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
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
|
||||
18
etc/supervisor.ops-logs.conf
Normal file
18
etc/supervisor.ops-logs.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
[program:ops-logs]
|
||||
command=/data/app/ops-logs
|
||||
directory=/data/app
|
||||
autostart=true
|
||||
autorestart=true
|
||||
user=root
|
||||
redirect_stderr=true
|
||||
stdout_logfile=/data/app/logs/ops-logs.log
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user