Documentation ¶
Overview ¶
Package bmatch provides log matchers used for filtering and transforms
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogMatcher ¶
type LogMatcher struct {
// contains filtered or unexported fields
}
LogMatcher can match log records of certain conditions
type LogMatcherConfig ¶
type LogMatcherConfig map[string]valueMatch
LogMatcherConfig is the configuration for LogMatch, to match log records of certain conditions
func (LogMatcherConfig) NewMatcher ¶
func (cmap LogMatcherConfig) NewMatcher(schema base.LogSchema) LogMatcher
NewMatcher creates a LogMatcher from a set of field names and ValueMatch(s)
func (LogMatcherConfig) VerifyConfig ¶
func (cmap LogMatcherConfig) VerifyConfig(schema base.LogSchema) error
VerifyConfig checks all field names
Click to show internal directories.
Click to hide internal directories.