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/logs/data-collector-api.md
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,15 +5,14 @@ ms.topic: conceptual
5
5
author: bwren
6
6
ms.author: bwren
7
7
ms.date: 08/08/2023
8
-
9
8
---
10
9
11
-
# Send log data to Azure Monitor by using the HTTP Data Collector API (preview)
10
+
# Send log data to Azure Monitor by using the HTTP Data Collector API (deprecated)
12
11
13
12
This article shows you how to use the HTTP Data Collector API to send log data to Azure Monitor from a REST API client. It describes how to format data that's collected by your script or application, include it in a request, and have that request authorized by Azure Monitor. We provide examples for Azure PowerShell, C#, and Python.
14
13
15
14
> [!NOTE]
16
-
> The Azure Monitor HTTP Data Collector API is in public preview.
15
+
> The Azure Monitor HTTP Data Collector API has been deprecated and will no longer be functional as of 9/18/2026. It's been replaced by the [Logs ingestion API](logs-ingestion-api-overview.md).
17
16
18
17
## Concepts
19
18
You can use the HTTP Data Collector API to send log data to a Log Analytics workspace in Azure Monitor from any client that can call a REST API. The client might be a runbook in Azure Automation that collects management data from Azure or another cloud, or it might be an alternative management system that uses Azure Monitor to consolidate and analyze log data.
@@ -56,15 +55,17 @@ Any request to the Azure Monitor HTTP Data Collector API must include an authori
*WorkspaceID* is the unique identifier for the Log Analytics workspace. *Signature* is a [Hash-based Message Authentication Code (HMAC)](/dotnet/api/system.security.cryptography.hmacsha256) that's constructed from the request and then computed by using the [SHA256 algorithm](/dotnet/api/system.security.cryptography.sha256). Then, you encode it by using Base64 encoding.
64
64
65
65
Use this format to encode the **SharedKey** signature string:
When you have the signature string, encode it by using the HMAC-SHA256 algorithm on the UTF-8-encoded string, and then encode the result as Base64. Use this format:
82
84
83
-
```
85
+
86
+
```sql
84
87
Signature=Base64(HMAC-SHA256(UTF8(StringToSign)))
85
88
```
86
89
@@ -166,7 +169,6 @@ The following properties are reserved and shouldn't be used in a custom record t
166
169
- TimeGenerated
167
170
- RawData
168
171
169
-
170
172
## Data limits
171
173
The data posted to the Azure Monitor Data collection API is subject to certain constraints:
172
174
@@ -568,6 +570,7 @@ public class ApiExample {
568
570
569
571
```
570
572
573
+
571
574
---
572
575
573
576
## Alternatives and considerations
@@ -581,7 +584,9 @@ Although the Data Collector API should cover most of your needs as you collect f
581
584
|[Azure Data Explorer](/azure/data-explorer/ingest-data-overview)| Azure Data Explorer, now generally available to the public, is the data platform that powers Application Insights Analytics and Azure Monitor Logs. By using the data platform in its raw form, you have complete flexibility (but require the overhead of management) over the cluster (Kubernetes role-based access control (RBAC), retention rate, schema, and so on). Azure Data Explorer provides many [ingestion options](/azure/data-explorer/ingest-data-overview#ingestion-methods), including [CSV, TSV, and JSON](/azure/kusto/management/mappings) files. | <ul><li> Data that won't be correlated with any other data under Application Insights or Monitor Logs. </li><li> Data that requires advanced ingestion or processing capabilities that aren't available today in Azure Monitor Logs. </li></ul> |
582
585
583
586
587
+
584
588
## Next steps
585
589
- Use the [Log Search API](./log-query-overview.md) to retrieve data from the Log Analytics workspace.
586
590
587
591
- Learn more about how to [create a data pipeline with the Data Collector API](create-pipeline-datacollector-api.md) by using a Logic Apps workflow to Azure Monitor.
0 commit comments