Custom Logs are not sent to Log Analytics from DCR/DCE even if I get 204

Pietro Gerace1 5 Reputation points
2023-05-09T14:48:05.7433333+00:00

I created all services required to send custom log to Azure Log Analytics, following this guide https://learn.microsoft.com/en-us/azure/azure-monitor/logs/tutorial-logs-ingestion-portal

The problem is that using API to send data I receive a 204 from DCE endpoint but the relative table is empty.

The body that I am sending is this

[
    {
        "TimeGenerated": "2023-05-09T13:18:25.9434375Z",
        "level": "INFO",
        "thread": "main",
        "logger": "com.example.log.exporter.Application",
        "message": "Testinviotramiteapi",
        "context": "default"
    }
]
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
{count} vote