none
Request body or any data masking RRS feed

  • Question

  • Is it possible to mask request body sent as telemetry to AppInsights or any other data like IDs, either by application which is using AI like .NET application using C# code or Azure AI itself? Or if can mask request data before sending to AI.

    Kindly let me know if any further clarification is required


    Thanks,

    Ankita



    • Edited by gaAAI Wednesday, August 21, 2019 1:06 PM
    Wednesday, August 21, 2019 11:25 AM

All replies

  • How are you sending the request body to Application Insights?

    You can customize the data that is being sent if you are using your own Telemetry Initializer. The specific code will vary a bit depending on whether you are using .Net 4.7 or .Net Core, but there are a lot of examples in this Stack Overflow postuser1672994's answer near the bottom specifically discusses removing PII data from the request body before sending it to App Insights. Essentially you need to capture the body, make your changes, and then send it off to App Insights.


    Thursday, August 22, 2019 5:16 PM
    Moderator