File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ alloy:
116116 }
117117
118118 stage.match {
119- selector = "{pod=~\".+\"} |~ \"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z?\\s+\\S+\\s+\\S+\\s+(?:\\[[^\\]]*\\])?\\s+.*\""
119+ selector = "{pod=~\".+\"} |~ \"^\\\\ d{4}-\\\\ d{2}-\\\\ d{2}T\\\\ d{2}:\\\\ d{2}:\\\\ d{2}(?:\\\\ .\\\\ d+)?Z?\\\\ s+\\\\ S+\\\\ s+\\\\ S+\\\\ s+(?:\\\\ [[^\\\\ ]]*\\\\ ])?\\ \\s+.*\""
120120
121121 stage.regex {
122122 expression = "(?s)(?P<timestamp>\\S+)\\s+(?P<level>\\S+)\\s+(?P<logger>\\S+)\\s+(?:\\[(?P<context>[^\\]]*)\\])?\\s+(?P<message>.*)"
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ should match snapshot:
126126 }
127127
128128 stage .match {
129- selector = " {pod=~\" .+\" } |~ \" ^\\ d{4}-\\ d{2}-\\ d{2}T\\ d{2}:\\ d{2}:\\ d{2}(?:\\ .\\ d+)?Z?\\ s+\\ S+\\ s+\\ S+\\ s+(?:\\ [[^\\ ]]*\\ ])?\\ s+.*\" "
129+ selector = " {pod=~\" .+\" } |~ \" ^\\\\ d{4}-\\\\ d{2}-\\\\ d{2}T\\\\ d{2}:\\\\ d{2}:\\\\ d{2}(?:\\\\ .\\\\ d+)?Z?\\\\ s+\\\\ S+\\\\ s+\\\\ S+\\\\ s+(?:\\\\ [[^\\\\ ]]*\\\\ ])?\\ \\ s+.*\" "
130130
131131 stage .regex {
132132 expression = " (?s)(?P<timestamp>\\ S+)\\ s+(?P<level>\\ S+)\\ s+(?P<logger>\\ S+)\\ s+(?:\\ [(?P<context>[^\\ ]]*)\\ ])?\\ s+(?P<message>.*)"
You can’t perform that action at this time.
0 commit comments