| Modifier and Type | Class and Description |
|---|---|
static class |
SFlow.Header |
Flow.Direction, Flow.NetflowVersion, Flow.SamplingAlgorithmIPV4_PROTOCOL_VERSION, IPV6_PROTOCOL_VERSION| Constructor and Description |
|---|
SFlow(SFlow.Header header,
org.bson.BsonDocument document,
java.time.Instant receivedAt) |
| Modifier and Type | Method and Description |
|---|---|
Long |
getBytes()
Number of bytes transferred in the flow.
|
Long |
getDeltaSwitched()
Unix timestamp in ms at which the previous exported packet
associated with this flow was switched.
|
Flow.Direction |
getDirection()
Direction of the flow (egress vs ingress)
|
String |
getDstAddr()
Destination address.
|
Optional<String> |
getDstAddrHostname()
Destination address hostname.
|
Long |
getDstAs()
Destination autonomous system (AS).
|
Integer |
getDstMaskLen()
The number of contiguous bits in the source address subnet mask.
|
Integer |
getDstPort()
Destination port.
|
Integer |
getEngineId()
Slot number of the flow-switching engine.
|
Integer |
getEngineType()
Type of flow-switching engine.
|
Long |
getFirstSwitched()
Unix timestamp in ms at which the first packet
associated with this flow was switched.
|
int |
getFlowRecords()
Number of flow records in the associated packet.
|
long |
getFlowSeqNum()
Flow packet sequence number.
|
Integer |
getInputSnmp()
SNMP ifIndex
|
Integer |
getIpProtocolVersion()
IPv4 vs IPv6
|
Long |
getLastSwitched()
Unix timestamp in ms at which the last packet
associated with this flow was switched.
|
Flow.NetflowVersion |
getNetflowVersion()
Netfow version
|
String |
getNextHop()
Next hop
|
Optional<String> |
getNextHopHostname()
Next hop hostname
|
String |
getNodeIdentifier()
Method to get node lookup identifier.
|
Integer |
getOutputSnmp()
SNMP ifIndex
|
Long |
getPackets()
Number of packets in the flow
|
Integer |
getProtocol()
IP protocol number i.e 6 for TCP, 17 for UDP
|
long |
getReceivedAt()
Time at which the flow was received by listener in milliseconds since epoch UTC.
|
Flow.SamplingAlgorithm |
getSamplingAlgorithm()
Sampling algorithm ID
|
Double |
getSamplingInterval()
Sampling interval
|
String |
getSrcAddr()
Source address.
|
Optional<String> |
getSrcAddrHostname()
Source address hostname.
|
Long |
getSrcAs()
Source autonomous system (AS).
|
Integer |
getSrcMaskLen()
The number of contiguous bits in the destination address subnet mask.
|
Integer |
getSrcPort()
Source port.
|
Integer |
getTcpFlags()
TCP Flags.
|
long |
getTimestamp()
Flow timestamp in milliseconds.
|
Integer |
getTos()
TOS.
|
Integer |
getVlan()
VLAN ID.
|
public SFlow(SFlow.Header header, org.bson.BsonDocument document, java.time.Instant receivedAt)
public long getReceivedAt()
FlowgetReceivedAt in interface Flowpublic long getTimestamp()
FlowgetTimestamp in interface Flowpublic Long getBytes()
Flowpublic Flow.Direction getDirection()
FlowgetDirection in interface Flowpublic String getDstAddr()
FlowgetDstAddr in interface Flowpublic Optional<String> getDstAddrHostname()
FlowgetDstAddrHostname in interface Flowpublic Long getDstAs()
Flowpublic Integer getDstMaskLen()
FlowgetDstMaskLen in interface Flowpublic Integer getDstPort()
FlowgetDstPort in interface Flowpublic Integer getEngineId()
FlowgetEngineId in interface Flowpublic Integer getEngineType()
FlowgetEngineType in interface Flowpublic Long getFirstSwitched()
FlowgetFirstSwitched in interface Flowpublic Long getLastSwitched()
FlowgetLastSwitched in interface Flowpublic int getFlowRecords()
FlowgetFlowRecords in interface Flowpublic long getFlowSeqNum()
FlowgetFlowSeqNum in interface Flowpublic Integer getInputSnmp()
FlowgetInputSnmp in interface Flowpublic Integer getOutputSnmp()
FlowgetOutputSnmp in interface Flowpublic Integer getIpProtocolVersion()
FlowgetIpProtocolVersion in interface Flowpublic String getNextHop()
FlowgetNextHop in interface Flowpublic Optional<String> getNextHopHostname()
FlowgetNextHopHostname in interface Flowpublic Long getPackets()
FlowgetPackets in interface Flowpublic Integer getProtocol()
FlowgetProtocol in interface Flowpublic Flow.SamplingAlgorithm getSamplingAlgorithm()
FlowgetSamplingAlgorithm in interface Flowpublic Double getSamplingInterval()
FlowgetSamplingInterval in interface Flowpublic String getSrcAddr()
FlowgetSrcAddr in interface Flowpublic Optional<String> getSrcAddrHostname()
FlowgetSrcAddrHostname in interface Flowpublic Long getSrcAs()
Flowpublic Integer getSrcMaskLen()
FlowgetSrcMaskLen in interface Flowpublic Integer getSrcPort()
FlowgetSrcPort in interface Flowpublic Integer getTcpFlags()
FlowgetTcpFlags in interface Flowpublic Long getDeltaSwitched()
FlowgetDeltaSwitched in interface Flowpublic Flow.NetflowVersion getNetflowVersion()
FlowgetNetflowVersion in interface Flowpublic String getNodeIdentifier()
FlowgetNodeIdentifier in interface FlowCopyright © 2022. All rights reserved.