TransactionID in Application Gateway v1 versus v2

Mark Fuller 42 Reputation points
2023-05-28T02:42:50.1366667+00:00

In AppGWv2 the TransactionID in the Firewall Log is a GUID (transactionId_g) and unique to each transaction. It can be used to correlate multiple OWASP rules that were triggered in the same transaction. For example where an OWASP rule has blocked traffic via anomaly scoring there is always exactly one ruleId_s=949110 in the log, and then one or more other rules that contributed to the anomaly score. And the TimeGenerated is always the same value for all logs with the same transactionId_g. This make analysis easy.

However in AppGWv1 the Transaction ID is a string (transactionId_s) and is not unique for a single transaction. The anomaly score shows ruleID_s=0 (compared to 949110 for AppGWv2). And I have many examples where there are multiple occurrences of ruleID_s=0 for the same transactionId_s. And the same transactionId_s can be seen across a time range, in some cases spanning multiple hours. So it seems transactionId_s is either not accurate or is being reused, which makes it very difficult to correlate events and analysis.

Is there any better way than transactionId_s to correlate the various log entries for AppGWv1?

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,217 questions
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 49,616 Reputation points Microsoft Employee Moderator
    2023-05-31T11:39:46.86+00:00

    @Anonymous

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    Your observation is correct.

    • The reuse of transaction IDs is a normal behavior in Application Gateway v1 and does not necessarily indicate an issue or problem.
    • It is important to note that the transaction ID is only intended to be used for troubleshooting and logging purposes and should not be relied upon for tracking or identifying individual requests.

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

    Thanks,

    Kapil


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    1 person found this answer helpful.
    0 comments No comments

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.