Hello Prashanth Kumar,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you are having issues with ingesting custom logs into a Log Analytics custom table and challenges with changing table schemas.
To troubleshoot this use the below steps:
- Ensure that the DCR is correctly configured to map the incoming data to the custom table. Check the DCR settings in the Azure portal to confirm that the data transformation and mapping are correct.
- Verify that the schema of the data being sent matches the schema defined in the custom table. Use the DCR to transform the incoming data to fit the table's schema if necessary.
- Make sure that the data is being sent to the correct DCE. Verify the endpoint URL and configuration in your REST API calls.
- Check that the application or service principal has the necessary permissions to write to the custom table. Ensure that it has access to the DCR and the Log Analytics workspace.
- Since you mentioned running Kusto queries, ensure that the queries are correctly formatted and targeting the right table. Verify that the table name and schema are correctly referenced in the queries.
- You can use dynamic schema updates in the DCR to accommodate changes in the data structure. This allows the DCR to adapt to new fields without manual intervention.
- Make sure that the data being sent to the custom table is in the correct format (e.g., JSON) and adheres to the expected schema.
- If the issue persists, consider reaching out to Azure support via your Portal for further assistance.
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.