Moving App Service Console Logs to Basic Tier

Istvan Fazakas 0 Reputation points
2025-01-23T19:36:41.4233333+00:00

Several app services are set up, each with a specific workspace. The goal is to update the data ingestion kind from Analytics to Basic due to infrequent log queries. Questions are as follows:

  1. Is it possible to move the AppServiceConsoleLogs table to a Basic tier?
  2. If moving is not possible, is there a way to create a Data Collection Rule (DCR), attach it to an App Service, create a custom table with Basic tier, and forward all logs from STDOUT there?

Documentation searches did not yield specifics regarding App Service and DCRs. The aim is to reduce costs related to log ingestion, which appear to be more expensive than other necessary services for the application. Thank you in advance for any assistance.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,223 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Laxman Reddy Revuri 1,910 Reputation points Microsoft Vendor
    2025-01-29T10:56:53.7333333+00:00

    Hi @Istvan Fazakas
    Thanks for the question and using MS Q&A platform.
    1.You cannot directly move the AppServiceConsoleLogs table to the Basic tire. Logs from App Services are stored in Log Analytics, and there is no direct way to change their tier from Analytics to Basic.

    2.However, you can still use Diagnostic Settings to collect your application logs (like STDOUT) and send them to a custom table in a Basic-tier Log Analytics workspace. This way, you can store the logs at a lower cost while using a custom table in the Basic tier.

    3.To use logs like AppServiceFileAuditLogs, which track file changes, your App Service needs to be on a Premium, PremiumV2, or Isolated plan. This is not required for collecting standard application logs (STDOUT).
    references:
    https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/data-collection-rule-overview?utm_source=chatgpt.com
    https://learn.microsoft.com/en-us/azure/azure-monitor/logs/cost-logs?utm_source=chatgpt.com
    Please accept as "Yes" if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.


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.