From e0f027f6cac7bc655749887c01a7da40d0d027ab Mon Sep 17 00:00:00 2001 From: Abhilash Shetty Date: Fri, 22 Sep 2023 00:17:53 +0530 Subject: [PATCH] feat(loki): adding multiline config support Signed-off-by: Abhilash Shetty --- chart/values.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/chart/values.yaml b/chart/values.yaml index 26e5ac1fb..aa193a936 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -586,6 +586,15 @@ loki-stack: - job_name: {{ .Release.Name }}-pods-name pipeline_stages: - docker: {} + - replace: + expression: '(\n)' + replace: "" + - multiline: + firstline: '^ \x1b\[2m(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}).(\d{6})Z' + max_wait_time: 3s + - multiline: + firstline: '^ (\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}).(\d{6})Z' + max_wait_time: 3s kubernetes_sd_configs: - role: pod relabel_configs: