An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# SFlow [![Travis](https://travis-ci.org/lflxp/sflow.svg?branch=master)](https://api.travis-ci.org/lflxp/sflow) [![GoDoc](https://godoc.org/github.com/lflxp/sflow?status.svg)](https://godoc.org/github.com/lflxp/sflow) [![Coverage Status](https://coveralls.io/repos/github/lflxp/sflow/badge.svg?branch=master)](https://coveralls.io/github/lflxp/sflow?branch=master)

# Info
Parsing sFlow for packetbeat plug-ins

This 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
```