FlowLogProperties interface

Parameters that define the configuration of flow log.

Properties

enabled

Flag to enable/disable flow logging.

enabledFilteringCriteria

Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged.

format

Parameters that define the flow log format.

recordTypes

Optional field to filter network traffic logs based on flow states. Value of this field could be any comma separated combination string of letters B,C,E or D. B represents Begin, when a flow is created. C represents Continue for an ongoing flow generated at every five-minute interval. E represents End, when a flow is terminated. D represents Deny, when a flow is denied. If not specified, all network traffic will be logged.

retentionPolicy

Parameters that define the retention policy for flow log.

storageId

ID of the storage account which is used to store the flow log.

Property Details

enabled

Flag to enable/disable flow logging.

enabled: boolean

Property Value

boolean

enabledFilteringCriteria

Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged.

enabledFilteringCriteria?: string

Property Value

string

format

Parameters that define the flow log format.

format?: FlowLogFormatParameters

Property Value

recordTypes

Optional field to filter network traffic logs based on flow states. Value of this field could be any comma separated combination string of letters B,C,E or D. B represents Begin, when a flow is created. C represents Continue for an ongoing flow generated at every five-minute interval. E represents End, when a flow is terminated. D represents Deny, when a flow is denied. If not specified, all network traffic will be logged.

recordTypes?: string

Property Value

string

retentionPolicy

Parameters that define the retention policy for flow log.

retentionPolicy?: RetentionPolicyParameters

Property Value

storageId

ID of the storage account which is used to store the flow log.

storageId: string

Property Value

string