https://github.com/lflxp/sflow
Analysis of sFlow V5 protocol for packetbeat use
https://github.com/lflxp/sflow
beats packetbeat v5
Last synced: 4 months ago
JSON representation
Analysis of sFlow V5 protocol for packetbeat use
- Host: GitHub
- URL: https://github.com/lflxp/sflow
- Owner: lflxp
- License: bsd-3-clause
- Created: 2017-11-13T01:41:11.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-20T04:30:31.000Z (almost 8 years ago)
- Last Synced: 2025-03-27T14:56:55.762Z (7 months ago)
- Topics: beats, packetbeat, v5
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SFlow [](https://api.travis-ci.org/lflxp/sflow) [](https://godoc.org/github.com/lflxp/sflow) [](https://coveralls.io/github/lflxp/sflow?branch=master)
# Info
Parsing sFlow for packetbeat plug-insThis is struct to decode sflow 5 layers and datagram info together
Fork on part of gopacket's sFlow data structure# Sample
Only decoder five layers of sflow sample
```
SFlowRawPacketFlowRecord
SFlowExtendedSwitchFlowRecord
SFlowExtendedRouterFlowRecord
SFlowExtendedGatewayFlowRecord
SFlowExtendedUserFlow
```# Counter
decoder all of layers
```
SFlowGenericInterfaceCounters
SFlowEthernetCounters
SFlowProcessorCounters
```