diff --git a/apps/infra/monitor/loki/helmchart-promtail.yaml b/apps/infra/monitor/loki/helmchart-promtail.yaml index c926bb8..b0f8efa 100644 --- a/apps/infra/monitor/loki/helmchart-promtail.yaml +++ b/apps/infra/monitor/loki/helmchart-promtail.yaml @@ -25,5 +25,5 @@ spec: regex: true # 匹配log_collecting_only_errors标签并只保留stderr流 - source_labels: [__meta_kubernetes_pod_label_log_collecting_only_errors] - action: keep - regex: stderr + action: drop + regex: stdout