CmdID / az / az network / az network watcher / az network watcher flow-log
az network watcher flow-log update
Update the flow log configuration of a network security group. Azure CLI reference
13 options Its page in the Azure CLI reference
Options
--enabledEnable logging.--filtering-criteriaUpdate condition to filter flowlogs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action.--flow-analytics-configurationParameters that define the configuration of traffic analytics.--formatFile type of the flow log.--identityFlowLog resource Managed Identity--log-versionVersion (revision) of the flow log.--name, -nThe name of the flow logger.--network-watcher-nameThe name of the network watcher.--record-typesOptional field to filter network traffic logs based on flow states.--retention-policyParameters that define the retention policy for flow log.--storage-accountName or ID of the storage account in which to save the flow logs.--tagsSpace-separated tags: key[=value] [key[=value] ...].--target-resource-idID of network security group to which flow log will be applied.