Azure App Service - Extensions - Log Browser

In this article, we will learn, what Azure App Service Extension is and how to enable it for an app service - web app.

What are App Service Extensions?

App Service supports web app extensions as an extensibility point for administrative actions. In fact, some App Service platform features are implemented as pre-installed extensions. While the pre-installed platform extensions cannot be modified, you can create and Web Server Logs.

Let's see how to view them, using one of the extensions, named “Azure Web Site Log Browser”.

Navigate to essentials tab of the app Service Web App and click on “Tools”, as shown below:

Tools

Clicking “Tools” icon in the step, shown above, will take you to the “Tools” blade, as shown below:

Tools

Now, click “Extensions” as shown in the screenshot, shown above, to navigate to the following list of available extensions, which are already installed.

Extensions
Click “Add” button to add the new extension.

As shown below, click “Choose extension” in the “Add extension” blade and select “Azure Web Site Logs Browser” in the “Choose Extension” blade, as shown below:

Add extension

You will be prompted to accept the Terms and Conditions, as shown below:

Add extension

Click “OK” in both the above blades to install the Web extension.

install

After a few seconds, the extension gets installed and will be displayed, as shown below:

extension

Now, click on the “Azure Web Site Logs Browser” extension to navigate to the extension blade, as shown below:

extension

It provides all the details about the extension along with the owner details.

Now, click the “Browse” button, shown in the screenshot above to actually view the log data, as shown below: 

Browse

Click “HTTP Logs”, as shown above. You will be listed with all the LOG files. Currently, we have only one file and it is displayed, as shown below:

HTTP Logs

Click the LOG file now, which will display the content of it.

LOG

Above is a screenshot of how the content of the log file are displayed along with a “Search” box. Try to search for a given word to highlight the same, as shown below:
LOG

That’s it. You have learned how to view Web Server logs by enabling Log Browser Extension.

Hope, you enjoyed reading the article. Your feedback is highly appreciated.