Versions in this module Expand all Collapse all v1 v1.0.0 Jul 11, 2017 Changes in this version + var DefaultPatterns = map[string]string + type CompiledGrok struct + func (compiled CompiledGrok) GetFields() []string + func (compiled CompiledGrok) Match(data []byte) bool + func (compiled CompiledGrok) MatchString(text string) bool + func (compiled CompiledGrok) Parse(data []byte) map[string][]byte + func (compiled CompiledGrok) ParseString(text string) map[string]string + func (compiled CompiledGrok) ParseStringToMultiMap(text string) map[string][]string + func (compiled CompiledGrok) ParseStringTyped(text string) (map[string]interface{}, error) + func (compiled CompiledGrok) ParseToMultiMap(data []byte) map[string][][]byte + func (compiled CompiledGrok) ParseTyped(data []byte) (map[string]interface{}, error) + type Config struct + NamedCapturesOnly bool + Patterns map[string]string + RemoveEmptyValues bool + SkipDefaultPatterns bool + type Grok struct + func New(config Config) (*Grok, error) + func (grok Grok) Compile(pattern string) (*CompiledGrok, error) + func (grok Grok) Match(pattern string, data []byte) (bool, error) + func (grok Grok) MatchString(pattern, text string) (bool, error) + func (grok Grok) Parse(pattern string, data []byte) (map[string][]byte, error) + func (grok Grok) ParseString(pattern, text string) (map[string]string, error) + func (grok Grok) ParseStringToMultiMap(pattern, text string) (map[string][]string, error) + func (grok Grok) ParseStringTyped(pattern, text string) (map[string]interface{}, error) + func (grok Grok) ParseToMultiMap(pattern string, data []byte) (map[string][][]byte, error) + func (grok Grok) ParseTyped(pattern string, data []byte) (map[string]interface{}, error)