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-arc/data/upload-logs.md
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -149,7 +149,7 @@ echo $WORKSPACE_SHARED_KEY
149
149
150
150
With the environment variables set, you can upload logs to the log workspace.
151
151
152
-
## Upload logs to Azure Log Analytics Workspace in **direct** mode
152
+
## Upload logs to Azure Log Analytics Workspace in direct mode
153
153
154
154
In the **direct** connected mode, Logs upload can only be setup in **automatic** mode. This automatic upload of metrics can be setup either during deployment or post deployment of Azure Arc data controller.
155
155
@@ -163,8 +163,6 @@ az arcdata dc update --name <name of datacontroller> --resource-group <resource
163
163
az arcdata dc update --name arcdc --resource-group <myresourcegroup> --auto-upload-logs true
164
164
```
165
165
166
-
167
-
168
166
### Disable automatic upload of logs to Azure Log Analytics Workspace
169
167
170
168
If the automatic upload of logs was enabled during Azure Arc data controller deployment, run the below command to disable automatic upload of logs.
@@ -174,14 +172,14 @@ az arcdata dc update --name <name of datacontroller> --resource-group <resource
174
172
az arcdata dc update --name arcdc --resource-group <myresourcegroup> --auto-upload-logs false
175
173
```
176
174
177
-
## Upload logs to Azure Monitor in **indirect** mode
175
+
## Upload logs to Azure Monitor in indirect mode
178
176
179
177
To upload logs for your Azure Arc-enabled SQL managed instances and Azure Arc-enabled PostgreSQL Hyperscale server groups run the following CLI commands-
180
178
181
179
1. Export all logs to the specified file:
182
180
183
-
> [!NOTE]
184
-
> Exporting usage/billing information, metrics, and logs using the command `az arcdata dc export` requires bypassing SSL verification for now. You will be prompted to bypass SSL verification or you can set the `AZDATA_VERIFY_SSL=no` environment variable to avoid prompting. There is no way to configure an SSL certificate for the data controller export API currently.
181
+
> [!NOTE]
182
+
> Exporting usage/billing information, metrics, and logs using the command `az arcdata dc export` requires bypassing SSL verification for now. You will be prompted to bypass SSL verification or you can set the `AZDATA_VERIFY_SSL=no` environment variable to avoid prompting. There is no way to configure an SSL certificate for the data controller export API currently.
185
183
186
184
```azurecli
187
185
az arcdata dc export --type logs --path logs.json --k8s-namespace arc
@@ -190,9 +188,9 @@ az arcdata dc update --name arcdc --resource-group <myresourcegroup> --auto-uplo
190
188
191
189
2. Upload logs to an Azure monitor log analytics workspace:
0 commit comments