elasticseach

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBadConfig = errors.New("elasticseach : Config file is misconfigured, check elasticsearch key format")

Functions

This section is empty.

Types

type ElasticSearchStorage

type ElasticSearchStorage struct {
	// contains filtered or unexported fields
}

func New

func New() (*ElasticSearchStorage, error)

func (*ElasticSearchStorage) SearchFlows

func (c *ElasticSearchStorage) SearchFlows(filters storage.Filters) ([]*flow.Flow, error)

func (*ElasticSearchStorage) StoreFlows

func (c *ElasticSearchStorage) StoreFlows(flows []*flow.Flow) error

type OldFlow

type OldFlow struct {
	UUID       string
	LayersPath string
	EtherSrc   string
	EtherDst   string
	Ipv4Src    string
	Ipv4Dst    string
	PortSrc    uint32
	PortDst    uint32
	ID         uint64
	Timestamp  uint64

	ProbeGraphPath string

	IfSrcName      string
	IfSrcType      string
	IfSrcGraphPath string
	IfSrcTenantID  string
	IfSrcVNI       uint64

	IfDstName      string
	IfDstType      string
	IfDstGraphPath string
	IfDstTenantID  string
	IfDstVNI       uint64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL