azure application insights showing duplicate transaction logs

Arif Usman 496 Reputation points
2025-06-17T18:47:55.83+00:00

I didn't find Tag for ApplicationInsight so using azure monitor instead.

Azure Application Insights is showing duplicate entries in Transaction search. Application Insights has LogAnalytic workspace. It is configured correctly, but not sure why duplications. LogAnalytic configuration is applied through Azure Policy. THANKS FOR YOUR HELP in advance

duplicate log_configure logAnalytic_config

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,645 questions
{count} votes

Accepted answer
  1. Pranay Reddy Madireddy 6,180 Reputation points Microsoft External Staff Moderator
    2025-06-18T00:10:52.99+00:00

    Hi Arif Usman

    Duplicate entries in Azure Application Insights can occur for a couple of reasons, especially when using Log Analytics workspaces. One common cause is when both the default telemetry pipeline and Diagnostic Settings are configured to send the same data to the workspace. This can lead to duplicate results in your queries.

    To avoid this, ensure that you do not configure Diagnostic Settings to send data to the same workspace that already collects Application Insights data. If you need to export data to a different workspace, consider using a Data Collection Rule (DCR) with a transformation and a custom table. This setup can help filter the data before ingestion and prevent duplicate records in your queries.

    Additionally, if you have multiple agents (like both the Log Analytics agent and Azure Monitor Agent) installed on a virtual machine, this can also lead to duplicate records. In this case, you may need to configure your Log Analytics workspace to avoid collecting data that is already being collected by the Azure Monitor Agent.

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please do consider to “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.