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: include:
- {{ .Values.logIngest.logPathPattern }} - {{ .Values.logIngest.logPathPattern }}
start_at: end start_at: end
include_file_path: false include_file_path: true
include_file_name: false include_file_name: true
operators: operators:
- type: json_parser - type: json_parser
parse_from: body parse_from: body

View File

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