Skip to content

Commit 15ed9a0

Browse files
Merge pull request #271633 from tomvcassidy/updateImageVersionResourceLogs
updating image name to working version
2 parents f6a4aea + 72de38c commit 15ed9a0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/container-instances/container-instances-log-analytics.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: tomcassidy
66
author: tomvcassidy
77
ms.service: container-instances
88
services: container-instances
9-
ms.date: 06/17/2022
9+
ms.date: 04/09/2024
1010
---
1111
# Container group and instance logging with Azure Monitor logs
1212

@@ -54,7 +54,7 @@ To deploy with the Azure CLI, specify the `--log-analytics-workspace` and `--log
5454
az container create \
5555
--resource-group myResourceGroup \
5656
--name mycontainergroup001 \
57-
--image fluent/fluentd \
57+
--image fluent/fluentd:v1.3-debian-1 \
5858
--log-analytics-workspace <WORKSPACE_ID> \
5959
--log-analytics-workspace-key <WORKSPACE_KEY>
6060
```
@@ -75,7 +75,7 @@ properties:
7575
- name: mycontainer001
7676
properties:
7777
environmentVariables: []
78-
image: fluent/fluentd
78+
image: fluent/fluentd:v1.3-debian-1
7979
ports: []
8080
resources:
8181
requests:
@@ -101,7 +101,7 @@ You should receive a response from Azure containing deployment details shortly a
101101

102102
## View logs
103103

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.
105105

106106
To view the container group's logs in the `ContainerInstanceLog_CL` table:
107107

@@ -116,7 +116,7 @@ You should see several results displayed by the query. If at first you don't see
116116

117117
## View events
118118

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:
120120

121121
1. Navigate to your Log Analytics workspace in the Azure portal
122122
1. Under **General**, select **Logs**
@@ -151,7 +151,7 @@ ContainerInstanceLog_CL
151151
## Log schema
152152

153153
> [!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'.
155155

156156
### ContainerInstanceLog_CL
157157

@@ -197,9 +197,9 @@ ContainerInstanceLog_CL
197197

198198
## Using Diagnostic Settings
199199

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.
201201

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.
203203

204204
```azurepowershell
205205
$log = @()

0 commit comments

Comments
 (0)