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:
- 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.
- 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.
- 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
- 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.