You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-instances/container-instances-log-analytics.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.author: tomcassidy
6
6
author: tomvcassidy
7
7
ms.service: container-instances
8
8
services: container-instances
9
-
ms.date: 06/17/2022
9
+
ms.date: 04/09/2024
10
10
---
11
11
# Container group and instance logging with Azure Monitor logs
12
12
@@ -54,7 +54,7 @@ To deploy with the Azure CLI, specify the `--log-analytics-workspace` and `--log
54
54
az container create \
55
55
--resource-group myResourceGroup \
56
56
--name mycontainergroup001 \
57
-
--image fluent/fluentd \
57
+
--image fluent/fluentd:v1.3-debian-1 \
58
58
--log-analytics-workspace <WORKSPACE_ID> \
59
59
--log-analytics-workspace-key <WORKSPACE_KEY>
60
60
```
@@ -75,7 +75,7 @@ properties:
75
75
- name: mycontainer001
76
76
properties:
77
77
environmentVariables: []
78
-
image: fluent/fluentd
78
+
image: fluent/fluentd:v1.3-debian-1
79
79
ports: []
80
80
resources:
81
81
requests:
@@ -101,7 +101,7 @@ You should receive a response from Azure containing deployment details shortly a
101
101
102
102
## View logs
103
103
104
-
After you've deployed the container group, it can take several minutes (up to 10) for the first log entries to appear in the Azure portal.
104
+
After you deploy the container group, it can take several minutes (up to 10) for the first log entries to appear in the Azure portal.
105
105
106
106
To view the container group's logs in the `ContainerInstanceLog_CL` table:
107
107
@@ -116,7 +116,7 @@ You should see several results displayed by the query. If at first you don't see
116
116
117
117
## View events
118
118
119
-
You can also view events for container instances in the Azure portal. Events include the time the instance is created and when it is started. To view the event data in the `ContainerEvent_CL` table:
119
+
You can also view events for container instances in the Azure portal. Events include the time the instance is created and when it's started. To view the event data in the `ContainerEvent_CL` table:
120
120
121
121
1. Navigate to your Log Analytics workspace in the Azure portal
122
122
1. Under **General**, select **Logs**
@@ -151,7 +151,7 @@ ContainerInstanceLog_CL
151
151
## Log schema
152
152
153
153
> [!NOTE]
154
-
> Some of the columns listed below only exist as part of the schema, and won't have any data emitted in logs. These columns are denoted below with a description of 'Empty'.
154
+
> Some of the columns listed in the following table only exist as part of the schema, and won't have any data emitted in logs. These columns are denoted with a description of 'Empty'.
155
155
156
156
### ContainerInstanceLog_CL
157
157
@@ -197,9 +197,9 @@ ContainerInstanceLog_CL
197
197
198
198
## Using Diagnostic Settings
199
199
200
-
Diagnostic Settings for container groups is a preview feature and it can be enabled through preview features options in Azure portal. Once this feature is enabled for a subscription, Diagnostic Settings can be applied to a container group. Applying Diagnostic Settings will cause a container group to restart.
200
+
Diagnostic Settings for container groups is a preview feature and it can be enabled through preview features options in Azure portal. Once this feature is enabled for a subscription, Diagnostic Settings can be applied to a container group. Applying Diagnostic Settings causes a container group to restart.
201
201
202
-
For example, here is how we can use New-AzDiagnosticSetting command to apply a Diagnostic Settings object to a container group.
202
+
For example, here's how we can use New-AzDiagnosticSetting command to apply a Diagnostic Settings object to a container group.
0 commit comments