chore(logging): update logPathPattern to /var/log/pods/*/*/*.log for k8s standard log collection

This commit is contained in:
Nicolas 2025-07-25 11:05:28 +08:00 committed by Nicolas
parent a95d5245df
commit 950c821c19
2 changed files with 3 additions and 3 deletions

View File

@ -47,8 +47,8 @@ spec:
include:
- {{ .Values.logIngest.logPathPattern }}
start_at: end
include_file_path: false
include_file_name: false
include_file_path: true
include_file_name: true
operators:
- type: json_parser
parse_from: body

View File

@ -7,7 +7,7 @@ dashboard:
logIngest:
enabled: true
lokiEndpoint: http://loki-gateway.freeleaps-logging-system
logPathPattern: /app/log/central_storage/*.log
logPathPattern: /var/log/pods/*/*/*.log
logPath: /app/log/central_storage
centralStorage:
replicas: 1