Commit 175d63f 1 parent 13c2104 commit 175d63f Copy full SHA for 175d63f
File tree 1 file changed +9
-5
lines changed
content/en/blog/2024/otel-collector-container-log-parser
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -137,12 +137,16 @@ will produce a log entry like the following:
137
137
"attributes": {
138
138
"time": "2024-03-30T08:31:20.545192187Z",
139
139
"log.iostream": "stdout",
140
- "k8s.pod.name": "kube-controller-kind-control-plane",
141
- "k8s.pod.uid": "49cc7c1fd3702c40b2686ea7486091d6",
142
- "k8s.container.name": "kube-controller",
143
- "k8s.container.restart_count": "1",
144
- "k8s.namespace.name": "kube-system",
145
140
"log.file.path": "/var/log/pods/kube-system_kube-controller-kind-control-plane_49cc7c1fd3702c40b2686ea7486091d6/kube-controller/1.log"
141
+ },
142
+ "resource": {
143
+ "attributes": {
144
+ "k8s.pod.name": "kube-controller-kind-control-plane",
145
+ "k8s.pod.uid": "49cc7c1fd3702c40b2686ea7486091d6",
146
+ "k8s.container.name": "kube-controller",
147
+ "k8s.container.restart_count": "1",
148
+ "k8s.namespace.name": "kube-system"
149
+ }
146
150
}
147
151
}
148
152
` ` `
You can’t perform that action at this time.
0 commit comments