An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
Messages sent through Logs Ingestions API not seen in Log Analytics Workspace
We are having several app services that run .NET 8.0 web APIs and that send messages to the Log Ingestions API. To make that work, we use the following resources on Azure:
- A Microsoft Entra Enterprise Application called Serilog with application ID 1d430e34-5bb3-4878-8f57-0ae02bd22b18.
- A Log Analytic Workspace called cardexchange-prod with a custom-log table called Serilog_CL.
- A Data Collection Endpoint called Serilog-Production.
- A Data Collection Rule called Serilog-Production that references the Data Collection Endpoint and has a data source called Custom-Serilog_CL that references the Serilog_CL table in the Log Analytic Workspace.
This works fine for some of the app service, for example cardexchangecloudapi and CardExchangeCloudAuthEU. However, it does not work for others, for example CardExchangeCloudNyu and CardExchangeCloudNyuTest. The app services for which it does not work all share the same code base, but with different configuration files. The way the Log Ingestions API is called is the same as for the app services that work fine. We use Serilog with a custom sink that calls the Logs Ingestion API. The code for this sink is shared among all app services.
I cannot find any configuration error. In Azure, I cannot find any error condition related to failed calls between the services mentioned above. I am out of ideas on how I can further troubleshoot this issue.
Azure Monitor
1 answer
Sort by: Newest
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more