Hi hajo
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
Make sure the Azure Monitor Agent can read the log files. Right-click the file, go to Properties > Security, and check that the agent has permission to read the file.
Ensure your log files are in the right format. Each entry should be on one line or have a timestamp at the start (e.g., YYYY-MM-DD HH:MM:SS). Otherwise, they may not be processed correctly.
Make sure your custom table in Log Analytics is set up correctly to receive log data. Check that the schema matches the data being collected.
Check that the Data Collection Endpoint (DCE) is properly created and linked to your DCR. The DCE must be in the same region as your Log Analytics workspace.
Ensure the Azure Monitor Agent is running on your virtual machine. You can check this in the Services console or by using PowerShell commands.
After setup, it may take some time for data to appear in Log Analytics, usually up to an hour.
For reference, please review this documentation:-
https://learn.microsoft.com/en-us/azure/azure-monitor/agents/data-sources-custom-logs?toc=%2Fazure%2Fazure-monitor%2Ftoc.json
https://learn.microsoft.com/th-th/azure/azure-monitor/agents/data-collection-log-text?tabs=portal
If you have any further queries, do let us know.
If the answer is helpful, please click "Accept Answer" and "Upvote it".