Application Insights & Log Analytics workspace daily capping

VIKARAN KARWASRA 0 Reputation points
2023-11-20T05:02:14.81+00:00

Hi All, I am using log analytics workspace based Application Insights. I had configured single Log analytics workspace with multiple Application Insights. I had also configured Daily capping on application insight & didn't configured on log analytics workspace. As per, Microsoft document it suggests that it will take minimum of two. But I noticed that it is not considered the capping of application insight & exceeding the data ingestion,even though it minimum with respect to log analytics workspace capping. Is there any workaround, as I want daily capping based on each application insight irrespective of log analytics workspace.

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,658 questions
Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
3,606 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Ben Gimblett 4,560 Reputation points Microsoft Employee
    2023-11-23T17:00:13.1766667+00:00

    Hi - thanks for the question

    If I understand - you have some LA workspace backed app insights resources (all point at the same workspace) and you've set caps on each AI resource but not on the workspace itself, that is correct? But still you see more data ingested than you expected.

    In the first instance please can you check here https://learn.microsoft.com/en-us/troubleshoot/azure/azure-monitor/app-insights/daily-cap-unexpected-behaviors

    As there's some things to be aware of. Can you let us know if this helps or not?

    0 comments No comments

  2. AnuragSingh-MSFT 21,551 Reputation points Moderator
    2023-11-24T06:13:47.73+00:00

    VIKARAN KARWASRA, thank you for this question on Microsoft Q&A.

    In additional to the answer provided by Ben above, please note the following information:

    1. As I understand you are using a single Log Analytics workspace with multiple ApplicationInsights instances. I would suggest rechecking the workspace for all these AppInsights instance to ensure that this understanding about the configuration is correct to avoid any confusion. You can check this by examining the Workspace field in Properties of each Application Insights.
    2. As mentioned in the doc, the capping takes minimum of what is specified. As you have multiple instances of AppInsights sending data to a single LA workspace, the capping will have to be set on All AppInsight instance. There could be scenario that you configure if on one AppInsights instance and it works, but the LA size is more because there are other AppInsights too sending data to it.
    3. As mentioned in the following doc, the capping has to be specified on both - AppInsights level and at LA level. Only then the smaller of the 2 values are taken into consideration - When to use a daily cap
    4. As mentioned in this doc, while the connection string is not mandatory for capping to take effect, it might resolve issues related to regionality. Also, it is strongly suggested to migrate to Connection String based setting as the InstrumentationKey is set to end by March 31, 2025. Therefore, I would suggest migrating to ConnectionString based setting to avoid this issue.

    Hope this helps.

    If the answer did not help, please add more context/follow-up question for it, and we will help you out. Else, if the answer helped, please click Accept answer so that it can help others in the community looking for help on similar topics.

    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.