Documentation ¶
Index ¶
- type Collected
- func (this *Collected) CheckInfo(ppp []byte)
- func (this *Collected) ListenNetFlowV5(protocol, port string)
- func (this *Collected) ListenSFlowSample(protocol, port string)
- func (this *Collected) ListenSflowAll(protocol, port string)
- func (this *Collected) ListenSflowCounter(protocol, port string)
- func (this *Collected) SendUdp(result string, counter bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collected ¶
type Collected struct { DeviceName string //设备名称 SnapShotLen int32 SnapShotLenUint uint32 Promiscuous bool //是否开启混杂模式 Timeout time.Duration Udpbool bool //是否开启udp sample and netflow传输 Host string //udp 发送客户端及端口 127.0.0.1:8888 CounterHost string //udp counter 传输 EsPath string // elasticsearch address path IsEs bool // 是否传送到es Index string // es索引名称 }
func (*Collected) ListenNetFlowV5 ¶
func (*Collected) ListenSFlowSample ¶
func (*Collected) ListenSflowAll ¶
func (*Collected) ListenSflowCounter ¶
Click to show internal directories.
Click to hide internal directories.