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/azure-monitor/containers/container-insights-syslog.md
+34-6Lines changed: 34 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,18 +15,24 @@ Container Insights offers the ability to collect Syslog events from Linux nodes
15
15
16
16
## Prerequisites
17
17
18
-
- You will need to have managed identity authentication enabled on your cluster. To enable, see [migrate your AKS cluster to managed identity authentication](container-insights-enable-existing-clusters.md?tabs=azure-cli#migrate-to-managed-identity-authentication). Note: This which will create a Data Collection Rule (DCR) named `MSCI-<WorkspaceRegion>-<ClusterName>`
18
+
- You need to have managed identity authentication enabled on your cluster. To enable, see [migrate your AKS cluster to managed identity authentication](container-insights-enable-existing-clusters.md?tabs=azure-cli#migrate-to-managed-identity-authentication). Note: Enabling Managed Identity will create a new Data Collection Rule (DCR) named `MSCI-<WorkspaceRegion>-<ClusterName>`
19
19
- Minimum versions of Azure components
20
20
-**Azure CLI**: Minimum version required for Azure CLI is [2.45.0 (link to release notes)](/cli/azure/release-notes-azure-cli#february-07-2023). See [How to update the Azure CLI](/cli/azure/update-azure-cli) for upgrade instructions.
21
21
-**Azure CLI AKS-Preview Extension**: Minimum version required for AKS-Preview Azure CLI extension is [ 0.5.125 (link to release notes)](https://github.com/Azure/azure-cli-extensions/blob/main/src/aks-preview/HISTORY.rst#05125). See [How to update extensions](/cli/azure/azure-cli-extensions-overview#how-to-update-extensions) for upgrade guidance.
22
22
-**Linux image version**: Minimum version for AKS node linux image is 2022.11.01. See [Upgrade Azure Kubernetes Service (AKS) node images](https://learn.microsoft.com/azure/aks/node-image-upgrade) for upgrade help.
23
23
24
24
## How to enable Syslog
25
-
26
-
Use the following command in Azure CLI to enable syslog collection when you create a new AKS cluster.
25
+
26
+
### From the Azure portal
27
+
28
+
Navigate to your cluster. Open the _Insights_ tab for your cluster. Open the _Monitor Settings_ panel. Click on Edit collection settings, then check the box for _Enable Syslog collection_
29
+
30
+
:::image type="content" source="media/container-insights-syslog/syslog-enable.gif" lightbox="media/container-insights-syslog/syslog-enable.gif" alt-text="Screen recording of syslog being enabled from the Azure portal through the Monitor Settings panel in Container Insights." border="true":::
27
31
28
32
### Using Azure CLI commands
29
33
34
+
Use the following command in Azure CLI to enable syslog collection when you create a new AKS cluster.
35
+
30
36
```azurecli
31
37
az aks create -g syslog-rg -n new-cluster --enable-managed-identity --node-count 1 --enable-addons monitoring --enable-msi-auth-for-monitoring --enable-syslog --generate-ssh-key
32
38
```
@@ -89,7 +95,23 @@ provisioningState : Succeeded
89
95
```
90
96
91
97
## How to access Syslog data
92
-
98
+
99
+
### Access using built-in workbooks
100
+
101
+
To get a quick snapshot of your syslog data, customers can use our built-in Syslog workbook. There are two ways to access the built-in workbook.
102
+
103
+
Option 1 - The Reports tab in Container Insights.
104
+
Navigate to your cluster. Open the _Insights_ tab for your cluster. Open the _Reports_ tab and look for the _Syslog_ workbook.
105
+
106
+
:::image type="content" source="media/container-insights-syslog/syslog-workbook-cluster.gif" lightbox="media/container-insights-syslog/syslog-workbook-cluster.gif" alt-text="Video of Syslog workbook being accessed from Container Insights Reports tab." border="true":::
107
+
108
+
Option 2 - The Workbooks tab in AKS
109
+
Navigate to your cluster. Open the _Workbooks_ tab for your cluster and look for the _Syslog_ workbook.
110
+
111
+
:::image type="content" source="media/container-insights-syslog/syslog-workbook-container-insights-reports-tab.gif" lightbox="media/container-insights-syslog/syslog-workbook-container-insights-reports-tab.gif" alt-text="Video of Syslog workbook being accessed from cluster workbooks tab." border="true":::
112
+
113
+
### Access using log queries
114
+
93
115
Syslog data is stored in the [Syslog](/azure/azure-monitor/reference/tables/syslog) table in your Log Analytics workspace. You can create your own [log queries](../logs/log-query-overview.md) in [Log Analytics](../logs/log-analytics-overview.md) to analyze this data or use any of the [prebuilt queries](../logs/log-query-overview.md).
94
116
95
117
:::image type="content" source="media/container-insights-syslog/azmon-3.png" lightbox="media/container-insights-syslog/azmon-3.png" alt-text="Screenshot of Syslog query loaded in the query editor in the Azure Monitor Portal UI." border="false":::
@@ -98,7 +120,7 @@ You can open Log Analytics from the **Logs** menu in the **Monitor** menu to acc
98
120
99
121
:::image type="content" source="media/container-insights-syslog/aks-4.png" lightbox="media/container-insights-syslog/aks-4.png" alt-text="Screenshot of Query editor with Syslog query." border="false":::
100
122
101
-
### Sample queries
123
+
####Sample queries
102
124
103
125
The following table provides different examples of log queries that retrieve Syslog records.
104
126
@@ -135,5 +157,11 @@ Select the minimum log level for each facility that you want to collect.
135
157
136
158
## Next steps
137
159
138
-
- Read more about [Syslog record properties](/azure/azure-monitor/reference/tables/syslog)
160
+
Once setup customers can start sending Syslog data to the tools of their choice
161
+
- Send Syslog to Microsoft Sentinel: https://learn.microsoft.com/azure/sentinel/connect-syslog
162
+
- Export data from Log Analytics: https://learn.microsoft.com/azure/azure-monitor/logs/logs-data-export?tabs=portal
163
+
164
+
Read more
165
+
-[Syslog record properties](/azure/azure-monitor/reference/tables/syslog)
139
166
167
+
Share your feedback for the preview here: https://forms.office.com/r/BBvCjjDLTS
0 commit comments