Azure Firewall logs not showing the network rule name

Atanu Gupta 141 Reputation points
2022-08-04T14:09:31.443+00:00

Is there anyway to show the network rule name in the output

228165-pic1.png

I have read that this has been added in the preview release and followed the configuration to enable that from the documentation https://video2.skills-academy.com/en-us/azure/firewall/firewall-preview

Although its showing as the feature is installed but still the logs are not showing the effect. Any help would be highly appreciated.

228178-pic2.png

Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
656 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. GitaraniSharma-MSFT 49,486 Reputation points Microsoft Employee
    2022-08-04T18:54:47.87+00:00

    Hello @Atanu Gupta ,

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

    I understand that Azure Firewall logs for you is not showing the network rule name even after enabling the Network Rule name Logging preview feature via Azure PowerShell.

    By default, network rules do not show the name of the rule that is being hit. This needs to be enabled via PowerShell by registering the "AFWEnableNetworkRuleNameLogging" preview feature, which you have already done.

    But for the feature to immediately take effect, an operation needs to be run on the firewall. This can be a rule change (least intrusive), a setting change, or a stop/start operation. Otherwise, the firewall/s is updated with the feature within several days.
    Refer : https://video2.skills-academy.com/en-us/azure/firewall/firewall-preview#network-rule-name-logging-preview

    Did you run any operation on the Firewall for this feature to take effect? If not, please try to perform a simple operation on the Firewall and check the logs again.

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

    ----------------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


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.