Skip to content

Counters Local File Sinks: how to get file from App Service

Saar Shen edited this page Apr 1, 2023 · 1 revision

The local file sinks outputs files to LogFiles folder when deployed to Azure WebSites. And you could easily access the counter data through the Advanced tools for both Windows and Linux hosts.

Here's a quick guidance:

  1. Visit the Advanced tools in Azure Portal

    image

For Linux

  1. Click the Files link in the environment page:

    image

  2. Find the LogFiles entry, and click on the href:

    image

  3. Find the Application entry, and click on the href:

    image

  4. Click to download the csv file:

    image

Analyze the result.

For Windows:

Similar steps could be taken as on Linux. Here's an alternative:

  1. Go to Debug console

  2. Navigate to LogFiles/Application

  3. Edit or download the file

    image