Accessing azure function ui of a self-hosted azure function within azure k8s service

Behrooz Tahanzadeh 0 Reputation points
2024-08-22T17:46:29.77+00:00

Hello.

We are using an Azure function within the Azure K8s service. Is there a solution to access these instances' logs using the Azure portal?

If not, is there any project that can visually show these functions?

Thank you

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,867 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,785 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sina Salam 9,571 Reputation points
    2024-08-22T19:57:03.6233333+00:00

    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:

    1. By integrating Application Insight, https://www.youtube.com/watch?v=xXainKfYH_Q
    2. By viewing Streaming Logs in the Azure Portal, https://learn.microsoft.com/en-us/azure/azure-functions/streaming-logs
    3. 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

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.