Skip to content

Commit 67b4ea2

Browse files
authored
Merge pull request #178479 from MikeRayMSFT/20211103-release-arc-data
indentation
2 parents e5905c4 + c7dbfd5 commit 67b4ea2

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

articles/azure-arc/data/upload-logs.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ echo $WORKSPACE_SHARED_KEY
149149

150150
With the environment variables set, you can upload logs to the log workspace.
151151

152-
## Upload logs to Azure Log Analytics Workspace in **direct** mode
152+
## Upload logs to Azure Log Analytics Workspace in direct mode
153153

154154
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.
155155

@@ -163,8 +163,6 @@ az arcdata dc update --name <name of datacontroller> --resource-group <resource
163163
az arcdata dc update --name arcdc --resource-group <myresourcegroup> --auto-upload-logs true
164164
```
165165

166-
167-
168166
### Disable automatic upload of logs to Azure Log Analytics Workspace
169167

170168
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
174172
az arcdata dc update --name arcdc --resource-group <myresourcegroup> --auto-upload-logs false
175173
```
176174

177-
## Upload logs to Azure Monitor in **indirect** mode
175+
## Upload logs to Azure Monitor in indirect mode
178176

179177
To upload logs for your Azure Arc-enabled SQL managed instances and Azure Arc-enabled PostgreSQL Hyperscale server groups run the following CLI commands-
180178

181179
1. Export all logs to the specified file:
182180

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.
185183
186184
```azurecli
187185
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
190188

191189
2. Upload logs to an Azure monitor log analytics workspace:
192190

193-
```azurecli
194-
az arcdata dc upload --path logs.json
195-
```
191+
```azurecli
192+
az arcdata dc upload --path logs.json
193+
```
196194

197195
## View your logs in Azure portal
198196

0 commit comments

Comments
 (0)