Not Sure if i need to migrate to DCR based ingestion ?

Patrick Wellink 20 Reputation points
2023-10-06T08:08:42.2666667+00:00

Ok, I got a mail stating :

Data Collector API will be retired on 14 September 2026 – transition to DCR-based custom log ingestion. 

You’re receiving this email because you currently use the Data Collector API for ingestion of custom logs to Azure Monitor logs.

But I am a little bit lost what is what. I send json data to log analytics directly through the REST API.

https://learn.microsoft.com/en-us/rest/api/loganalytics/create-request

The uri format is : https://{CustomerID}.ods.opinsights.azure.com/<Resource>?api-version=2016-04-01

It's a really simple REST api post and I really like that. I then query Log Analytics directly with kusto.

Do I understand correct that I have to migrate to DCR based log ingestion ?

I only need to insert the data into log analytics. They are not the default logs (events,metrics etc) but a specific json class. for each record I need to insert I call this API just to insert the data into log analytics.......

It's not really clear to me if i have to migrate ?

Azure Monitor
Azure Monitor

An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.


1 answer

Sort by: Most helpful
  1. SwathiDhanwada-MSFT 19,093 Reputation points Moderator
    2023-10-09T12:16:24.3133333+00:00

    Patrick Wellink Welcome to Microsoft Q & A Community Forum. I understand that HTTP Data Collector API is easier for ingesting the data into table but however the Logs Ingestion API provides more processing power and greater flexibility in ingesting logs and managing tables than the legacy HTTP Data Collector API. Kindly note that the Log Ingestion API provides the following advantages over the Data Collector API:

    • Supports transformations, which enable you to modify the data before it's ingested into the destination table, including filtering and data manipulation.
    • Lets you send data to multiple destinations.
    • Enables you to manage the destination table schema, including column names, and whether to add new columns to the destination table when the source data schema changes.

    To avoid ingestion errors and data loss, transition to the DCR-based Log Ingestion API before 14 September 2026. After this date, Data Collector API endpoints will become unavailable.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.