Documentation ¶
Index ¶
Constants ¶
View Source
const ErrorTag = "gogstash_filter_grok_error"
ErrorTag tag added to event when process module failed
View Source
const ModuleName = "grok"
ModuleName is the name used in config file
Variables ¶
This section is empty.
Functions ¶
func InitHandler ¶
InitHandler initialize the filter plugin
Types ¶
type FilterConfig ¶
type FilterConfig struct { config.FilterConfig PatternsPath string `json:"patterns_path"` // path to patterns file Match string `json:"match"` // match pattern Source string `json:"source"` // source message field name // contains filtered or unexported fields }
FilterConfig holds the configuration json fields and internal objects
func DefaultFilterConfig ¶
func DefaultFilterConfig() FilterConfig
DefaultFilterConfig returns an FilterConfig struct with default values
Click to show internal directories.
Click to hide internal directories.