On the Azure portal: Go to the NSG flow logs section in Network Watcher. Select the name of the network security group. On the settings pane for the NSG flow log, change the parameters that you want.