File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -168,11 +168,11 @@ func NewKubernetesContainerWriter() *FileLogK8sWriter {
168
168
id: get-format
169
169
routes:
170
170
- output: parser-docker
171
- expr: '$$record matches "^\\{"'
171
+ expr: '$$body matches "^\\{"'
172
172
- output: parser-crio
173
- expr: '$$record matches "^[^ Z]+ "'
173
+ expr: '$$body matches "^[^ Z]+ "'
174
174
- output: parser-containerd
175
- expr: '$$record matches "^[^ Z]+Z"'
175
+ expr: '$$body matches "^[^ Z]+Z"'
176
176
# Parse CRI-O format
177
177
- type: regex_parser
178
178
id: parser-crio
@@ -211,9 +211,9 @@ func NewKubernetesContainerWriter() *FileLogK8sWriter {
211
211
k8s.pod.name: 'EXPR($.pod_name)'
212
212
run_id: 'EXPR($.run_id)'
213
213
k8s.pod.uid: 'EXPR($.uid)'
214
- # Clean up log record
214
+ # Clean up log body
215
215
- type: restructure
216
- id: clean-up-log-record
216
+ id: clean-up-log-body
217
217
ops:
218
218
- move:
219
219
from: log
@@ -253,9 +253,9 @@ func NewKubernetesCRIContainerdWriter() *FileLogK8sWriter {
253
253
k8s.pod.name: 'EXPR($.pod_name)'
254
254
run_id: 'EXPR($.run_id)'
255
255
k8s.pod.uid: 'EXPR($.uid)'
256
- # Clean up log record
256
+ # Clean up log body
257
257
- type: restructure
258
- id: clean-up-log-record
258
+ id: clean-up-log-body
259
259
ops:
260
260
- move:
261
261
from: log
You can’t perform that action at this time.
0 commit comments