Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Record ¶
type Record struct {
// Version of the VPC Flow Logs.
Version string
// AccountID for the flow log.
AccountID string
// InterfaceID of the network interface for which the traffic is recorded.
InterfaceID string
// SourceAddress is an IPv4 or IPv6 address. The IPv4 address of the network interface is always its private IPv4 address.
SourceAddress net.IP
// DestinationAddress is an IPv4 or IPv6 address. The IPv4 address of the network interface is always its private IPv4 address.
DestinationAddress net.IP
// SourcePort of the traffic.
SourcePort int64
// DestinationPort of the traffic.
DestinationPort int64
// Protocol is the IANA protocol number of the traffic. For more information, see Assigned Internet Protocol Numbers.
Protocol string
// Packets is the number of packets transferred during the capture window.
Packets int64
// Bytes is the number of bytes transferred during the capture window.
Bytes int64
// Start time of the start of the capture window.
Start time.Time
// End time of the end of the capture window.
End time.Time
// Action associated with the traffic - ACCEPT: The recorded traffic was permitted by the security groups or network ACLs. or REJECT: The recorded traffic was not permitted by the security groups or network ACLs.
Action Action
// Status of the flow log: OK: Data is logging normally to the chosen destinations. NODATA: There was no network traffic to or from the network interface during the capture window. SKIPDATA: Some flow log records were skipped during the capture window. This may be because of an internal capacity constraint, or an internal error.
Status Status
}
Record represents a network flow in your flow log.
Click to show internal directories.
Click to hide internal directories.