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/cognitive-services/Speech-Service/logging-audio-transcription.md
+16-8Lines changed: 16 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,9 +24,9 @@ Audio and transcription logs can be used as input for [Custom Speech](custom-spe
24
24
25
25
Logging is done asynchronously for both base and custom model endpoints. Audio and transcription logs are stored by the Speech service and not written locally. The logs are retained for 30 days. After this period, the logs are automatically deleted. However you can [delete](#delete-audio-and-transcription-logs) specific logs or a range of available logs at any time.
26
26
27
-
## Enable audio and transcription logs
27
+
## Enable audio and transcription logging
28
28
29
-
Logging is disabled by default. Logging can be enabled [per transcription](#enable-logging-for-a-single-transcription) or [per custom model endpoint](#enable-audio-and-transcription-logs-for-a-custom-model-endpoint).
29
+
Logging is disabled by default. Logging can be enabled [per transcription](#enable-logging-for-a-single-transcription) or [per custom model endpoint](#enable-audio-and-transcription-logging-for-a-custom-model-endpoint).
30
30
31
31
### Enable logging for a single transcription
32
32
@@ -265,7 +265,7 @@ If you use [Speech-to-text REST API for short audio](rest-speech-to-text-short.m
### Enable audio and transcription logs for a custom model endpoint
268
+
### Enable audio and transcription logging for a custom model endpoint
269
269
270
270
This method is applicable for [Custom Speech](custom-speech-overview.md) endpoints only.
271
271
@@ -408,18 +408,26 @@ Log ID for each log file is the last part of the URL in `"self"` element value.
408
408
409
409
## Delete audio and transcription logs
410
410
411
-
Logging data is kept for 30 days. After this period, the logs are automatically deleted. However you can delete specific logs or a range of available logs at any time.
411
+
Logging data is kept for 30 days. After this period, the logs are automatically deleted. However you can delete specific logs or a range of available logs at any time.
412
412
413
-
To delete audio and transcription logs for either a base or [custom model](how-to-custom-speech-deploy-model.md) endpoint, you must use the [Speech-to-text REST API](rest-speech-to-text.md). There isn't a way to delete logs using the Speech Studio.
413
+
For any base or [custom model](how-to-custom-speech-deploy-model.md) endpoint you can delete all available logs, logs for a given time frame, or a particular log based on its Log ID. The deletion process is done asynchronously and can take up to one day depending on the amount of log files.
414
414
415
-
For any endpoint you can delete all available logs, logs for a given time frame, or a particular log based on its Log ID.
415
+
To delete audio and transcription logs you must use the [Speech-to-text REST API](rest-speech-to-text.md). There isn't a way to delete logs using the Speech Studio.
416
416
417
417
### Delete all logs or logs for a given time frame
418
418
419
-
To delete all logs or logs for a given time frame, you use [Endpoints_DeleteBaseModelLogs](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_DeleteBaseModelLogs) (for base model endpoint) or [Endpoints_DeleteLogs](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_DeleteLogs) (for custom model endpoints) request of the [Speech-to-text REST API](rest-speech-to-text.md).
419
+
To delete all logs or logs for a given time frame:
420
+
421
+
- Base models: Use the [Endpoints_DeleteBaseModelLogs](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_DeleteBaseModelLogs) operation of the [Speech-to-text REST API](rest-speech-to-text.md).
422
+
- Custom model endpoints: Use the [Endpoints_DeleteLogs](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_DeleteLogs) operation of the [Speech-to-text REST API](rest-speech-to-text.md).
423
+
424
+
Optionally, set the `endDate` of the audio logs deletion (specific day, UTC). Expected format: "yyyy-mm-dd". For instance, "2023-03-15" results in deleting all logs on March 15th, 2023 and before.
420
425
421
426
### Delete specific log
422
427
423
-
To delete a specific log by ID, you use [Endpoints_DeleteBaseModelLog](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_DeleteBaseModelLog) (for base model endpoint) or [Endpoints_DeleteLog](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_DeleteLog) (for custom model endpoints) request of the [Speech-to-text REST API](rest-speech-to-text.md).
428
+
To delete a specific log by ID:
429
+
430
+
- Base models: Use the [Endpoints_DeleteBaseModelLog](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_DeleteBaseModelLog) operation of the [Speech-to-text REST API](rest-speech-to-text.md).
431
+
- Custom model endpoints: Use the [Endpoints_DeleteLog](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_DeleteLog) operation of the [Speech-to-text REST API](rest-speech-to-text.md).
424
432
425
433
For details about how to get Log IDs, see a previous section [Get log IDs with Speech-to-text REST API](#get-log-ids-with-speech-to-text-rest-api).
0 commit comments