Can we stop logging for a Certain route path in application gateway

Naman Jain 0 Reputation points
2024-10-16T06:45:49.79+00:00

I have been using APIM as a backend and want a certain endpoint not to be logged. I have found that APIM can adjust its logging but as have exposed the APIM with the Application gateway would like to stop logging for the same too in case of application gateway.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,308 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Stanislav Zhelyazkov 24,611 Reputation points MVP
    2024-10-31T06:59:22.52+00:00

    Hi,

    There are lot of details missing in your request but I will try to answer based on assumptions. I would assume you are using diagnostic logs with sending them to Log Analytics workspace. In such case if you are using the new Resource-specific option for sending logs the logs are send to ApiManagementGatewayLogs table. That table supports Ingestion-time transformation feature. In short that feature allows you to change the structure of the received logs or for example to filter out certain logs based on the values of different columns by using KQL (kusto query language) queries. That feature has some additional cost which you will find at Log Processing in Azure Monitor pricing.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    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.