How to troubleshoot Data Collection Rule that shows no transformation errors but nothing ends up in Custom Table

Ben Porter 5 Reputation points
2024-02-07T11:09:11.2433333+00:00

I am trying to test using Azure Monitor to ingest logs from on premises applications using the Logs Ingestion API. I have followed the tutorial https://learn.microsoft.com/en-us/azure/azure-monitor/logs/tutorial-logs-ingestion-api to setup the required data collection endpoint and data collection rule to push the data into the created custom table. I can call the endpoint and receive a successful 204 response. I can also see the requests making it to the Data Collection Rule on the metrics view, but nothing ends up in the custom table. There are no transformation errors reported in the metrics on the data collection rule either. How can I troubleshoot this issue to see where the data is getting lost?

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

1 answer

Sort by: Most helpful
  1. Stanislav Zhelyazkov 21,256 Reputation points MVP
    2024-02-08T10:49:40.36+00:00

    Hi,

    The best way to troubleshoot this is:

    • collect the data without transformation rule
    • construct your transformation query from all the data
    • add the transformation query to the rule

    If you do not get the data even without any transformation you have some other problem with your setup. If you get the data without transformation query that means the previous transformation query was not correct and most likely is blocking any record to be ingested.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments