Unable to send logs to Log Anayltics workspace custom table using Log Ingestion API in Azure Monitor

Crest 6 Reputation points
2022-11-08T12:23:10.75+00:00

I tried sending logs to Log Analytics workspace for Azure Monitor using Logs Ingestion API in Azure Monitor (preview) , by following the steps mentioned in the documentation (https://learn.microsoft.com/en-us/azure/azure-monitor/logs/tutorial-logs-ingestion-portal)
Getting a “204 no content response” and the logs are not reflecting in the custom table with plan Basic created in the Log Analytic Workspace.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,037 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Andrew Blumhardt 9,776 Reputation points Microsoft Employee
    2022-11-08T17:37:54.537+00:00

    It may be hard to pinpoint the issue based on the limited information provided. It may be that the tutorial is outdated or the JSON payload is incorrectly formatted. The issue might also be that you are using basic logs. This is a new feature and possibly the API does not yet work with basic logs. You might try using a standard table. The cost difference is insignificant for small tables.

    There is a packaged version available in Logic Apps that might be easier to use.
    https://learn.microsoft.com/en-us/connectors/azureloganalyticsdatacollector/


  2. Maxim Sergeev 6,566 Reputation points Microsoft Employee
    2022-11-09T04:42:24.22+00:00

    Hi there,

    There are several gaps in the UI experience for Custom Logs (Preview). I can't tell when, but something is going to be improved really soon.
    Regarding your particular issue, it requires to deep dive into the problem. Without getting a full understanding and full context on the issue it's really hard to help.

    If you have a support contract, it's better to open an advisory\technical case.

    0 comments No comments