Hello Behrooz Tahanzadeh,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you like to access logs for your Azure Functions running within Azure Kubernetes Service (AKS) using Azure Portal.
You should be able to achieve this with a few options available:
- By integrating Application Insight, https://www.youtube.com/watch?v=xXainKfYH_Q
- By viewing Streaming Logs in the Azure Portal, https://learn.microsoft.com/en-us/azure/azure-functions/streaming-logs
- By using Monitor Tab of your Azure Function in the Azure Portal, https://learn.microsoft.com/en-us/azure/azure-functions/configure-monitoring and https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/azure-functions/streaming-logs.md
Kindly use the additional resources available by the side of this page for more reading and review.
Accept Answer
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 ** so that others in the community facing similar issues can easily find the solution.
Best Regards,
Sina Salam