Documentation ¶
Index ¶
Constants ¶
View Source
const ModuleName = "remove_field"
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 // list all fields to remove Fields []string `json:"fields"` // remove event origin message field, not in extra RemoveMessage bool `json:"remove_message"` }
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.