elastic

package
v4.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package elastic provides an implementation of a storage that index/get documents to/from Elasticsearch 6.x. This store can only manage logs and events for the moment. It will fail if you try to use it for other store types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStore

func NewStore(cfg config.Configuration, storeConfig config.Store) (store.Store, error)

NewStore returns a new Elastic store. Since the elastic store can only manage logs or events, it will panic is it's configured for anything else. At init stage, we display ES cluster info and initialise indexes if they are not found.

Types

This section is empty.

Jump to

Keyboard shortcuts

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