Use the following procedure to define a custom log file. Scroll to the end of this article for a walkthrough of a sample of adding a custom log.
https://learn.microsoft.com/en-us/azure/azure-monitor/agents/data-sources-custom-logs#defining-a-custom-log
Parse text data in Azure Monitor logs
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/parse-text
If the Answer is helpful, please click Accept Answer
and up-vote, this can be beneficial to other community members.