Issue with Creating DCR

Someiah C S 120 Reputation points
2025-08-07T06:58:23.38+00:00

We're currently working on ingesting MongoDB Atlas logs into Sentinel using the Log Ingestion API. I’ve written a script that pulls logs from MongoDB and successfully pushes them into a custom table in Log Analytics—it’s working fine so far.

Now, I’m trying to create a Data Collection Rule (DCR) to map the JSON fields to table columns. However, I'm running into an issue: When I attempt to create the DCR after the table is already created, I get the following error: "Classic (MMA-based) custom log tables for stream 'Custom-MongoAccessLogs_CL' with destination 'la--1767074561' are not supported in Data Collection Rules. Please migrate to a Data Collection Rule based table to receive custom logs."

But if I delete the classic table and then try to create the DCR, I run into a different issue: "The specified table: 'MongoAccess_CL' does not exist."

Has anyone faced this before? Any suggestions on how to properly set this up or resolve this conflict between classic and DCR-based tables?

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

Your answer

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