Documentation ¶
Index ¶
- type Storage
- func (c *Storage) SearchFlows(fsq filters.SearchQuery) (*flow.FlowSet, error)
- func (c *Storage) SearchMetrics(fsq filters.SearchQuery, metricFilter *filters.Filter) (map[string][]common.Metric, error)
- func (c *Storage) SearchRawPackets(fsq filters.SearchQuery, packetFilter *filters.Filter) (map[string][]*flow.RawPacket, error)
- func (c *Storage) Start()
- func (c *Storage) Stop()
- func (c *Storage) StoreFlows(flows []*flow.Flow) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶ added in v0.21.0
type Storage struct {
// contains filtered or unexported fields
}
Storage describes an ElasticSearch flow backend
func (*Storage) SearchFlows ¶ added in v0.21.0
SearchFlows search flow matching filters in the database
func (*Storage) SearchMetrics ¶ added in v0.21.0
func (c *Storage) SearchMetrics(fsq filters.SearchQuery, metricFilter *filters.Filter) (map[string][]common.Metric, error)
SearchMetrics searches flow metrics matching filters in the database
Click to show internal directories.
Click to hide internal directories.