Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apache2 ¶
type Apache2 struct {
RegExp
}
func NewApache2 ¶
func NewApache2(config *Apache2Config) *Apache2
func (*Apache2) TransformConfig ¶
func (f *Apache2) TransformConfig(config *Apache2Config) *RegExpConfig
type Apache2Config ¶
type Apache2Config struct {
Type string `description:"type of the log to parse (common, combined or error)"`
}
type FormatHelper ¶
type FormatHelper struct {
// contains filtered or unexported fields
}
func NewFormatHelper ¶
func NewFormatHelper(config string) *FormatHelper
func (*FormatHelper) Format ¶
func (h *FormatHelper) Format(field, value string) interface{}
func (*FormatHelper) GetFields ¶
func (h *FormatHelper) GetFields() map[string]*fieldFormat
func (*FormatHelper) SetConfig ¶
func (h *FormatHelper) SetConfig(config string)
type JSON ¶
type JSON struct {
}
func NewJSON ¶
func NewJSON(config *JSONConfig) *JSON
func (*JSON) SetConfig ¶
func (f *JSON) SetConfig(config *JSONConfig)
type JSONConfig ¶
type JSONConfig struct {
Empty string
}
type Nginx ¶
type Nginx struct {
RegExp
}
func NewNginx ¶
func NewNginx(config *NginxConfig) *Nginx
func (*Nginx) TransformConfig ¶
func (f *Nginx) TransformConfig(config *NginxConfig) *RegExpConfig
type NginxConfig ¶
type NginxConfig struct {
Type string `description:"type of the log to parse (combined or error)"`
}
type RegExp ¶
type RegExp struct {
// contains filtered or unexported fields
}
func NewRegExp ¶
func NewRegExp(config *RegExpConfig) *RegExp
func (*RegExp) SetConfig ¶
func (f *RegExp) SetConfig(config *RegExpConfig)
type RegExpConfig ¶
Click to show internal directories.
Click to hide internal directories.