Forum Discussion
Unable to send logs to Log Analytics workspace using Data Collection Endpoint
Unable to send logs to Log Analytics workspace using Data Collection Endpoint.
Received 204(No content) as http response.
No logs are observed/recorded in the custom table.
I have followed the below approach.
Step1 : Created a custom table.
Step2 : Registered an application and granted below permissions
Step 3 : Created a Data collection Endpoint in same region (East US) of Log analytics workspace.
Step 4 : Created a Data collection rule in the same region (East US).
Step 5 : Using Postman or Logic App I have tried to POST some sample JSON data to LAW.
Sample data matches the Table Schema and DCR schema as well
Below is the schema of the table used
REST API response with error 204 [no content]
Table not showing any results
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/tutorial-logs-ingestion-api
4 Replies
- VishnuVasudevanCopper ContributorProblem was fixed!. The PostMan/LogicApp POST request requires, the whole body needed to be in an array.
- VeenaAltsysCopper ContributorEven after setting as Array i am getting 204
- VishnuVasudevanCopper Contributor
204 response is normal and correct. After few minutes you should see the logs ingested to the corresponding table.
could you please elaborate your usecase?. VeenaAltsys