Files
Work-configuration-file/filebast/us-prod-02/prod_go_lessie_sourcing_api.yml
2025-12-14 23:43:44 +08:00

26 lines
623 B
YAML

- type: log
id: prod_go_lessie_sourcing_api
enabled: true
paths:
- /data/webapps/go_lessie_sourcing_api/logs/*.log
follow_symlinks: true
harvester_limit: 1
fields:
application: go-lessie-sourcing_api # 自定义字段,标识应用名称
log_type: go.log # 自定义字段,标识日志类型
environment: prod # 自定义字段,标识机器环境名称
instance: us-prod-02 # 自定义字段,标识机器名称
fields_under_root: true
ignore_older: 24h
scan_frequency: 10s
clean_inactive: 25h
close_inactive: 5m
close_renamed: true
start_position: beginning