Not able to disable auto collected Appinsight logs for 3.x

Goel, Akanksha 66 Reputation points
2021-06-28T07:45:18.263+00:00

Looks like some additional logs are getting auto-collected by AppInsight agent 3.x
Along with Traces, we are getting :
•Reguests
•Exceptions
•Dependencies

How to disable these logs?

Azure HDInsight
Azure HDInsight
An Azure managed cluster service for open-source analytics.
218 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JayaC-MSFT 5,531 Reputation points
    2021-06-28T08:31:19.54+00:00

    Hello @Goel, Akanksha , Thank you for the question. Did you try to include the "excludeTypes" property in applicationinsight setting in host.json file and specify the types you want to disable/ exclude?
    https://learn.microsoft.com/en-us/azure/azure-functions/functions-host-json#applicationinsightssamplingsettings

    Hope this helps.

    If yes , please "Accept the answer" and "Up-vote" so that it helps others in the community.


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.