---
title: "Upload Azure Batch service log files from the specified Compute Node to Azure
Blob Storage."
method: POST
path: "/pools/{poolId}/nodes/{nodeId}/uploadbatchservicelogs"
tags: ["Nodes"]
---

# Upload Azure Batch service log files from the specified Compute Node to Azure
Blob Storage.

`POST /pools/{poolId}/nodes/{nodeId}/uploadbatchservicelogs`

This is for gathering Azure Batch service log files in an automated fashion
from Compute Nodes if you are experiencing an error and wish to escalate to
Azure support. The Azure Batch service log files should be shared with Azure
support to aid in debugging issues with the Batch service.

## Path parameters

- `poolId` string, required
- `nodeId` string, required

## Query parameters

- `api-version` string, required
- `timeOut` integer

## Headers

- `client-request-id` string
- `return-client-request-id` boolean
- `ocp-date` string, date-time-rfc7231

## Response `200`

The request has succeeded.

- UploadBatchServiceLogsResult — The result of uploading Batch service log files from a specific Compute Node.
  - `virtualDirectoryName` string, required — The virtual directory within Azure Blob Storage container to which the Batch Service log file(s) will be uploaded. The virtual directory name is part of the blob name for each log file uploaded, and it is built based poolId, nodeId and a unique identifier.
  - `numberOfFilesUploaded` integer, required — The number of log files which will be uploaded.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/batch-batch.md) · [All operations](https://skmtc.net/azure/apis/batch-batch/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/batch-batch/revisions/8427acd8fd77/schema)
