Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCacheConfig = CacheConfig{ Backoff: BackoffConfig{ Duration: 1 * time.Second, Factor: 2.0, Max: 60 * time.Second, }, GCInterval: 10 * time.Second, ExpireUnused: 60 * time.Second, FieldsUnderRoot: false, }
Functions ¶
func NewCachedLookupTool ¶
func NewCachedLookupTool( name string, config CacheConfig, keyBuilder KeyBuilder, backend Runner, ) (processors.Processor, error)
Types ¶
type BackoffConfig ¶
type CacheConfig ¶
type KeyBuilder ¶
func MakeKeyBuilder ¶
func MakeKeyBuilder(fields []string) (KeyBuilder, error)
type KeyBuilderFunc ¶
func (KeyBuilderFunc) ExtractKey ¶
func (fn KeyBuilderFunc) ExtractKey(event common.MapStr) (Key, bool)
Click to show internal directories.
Click to hide internal directories.