Documentation ¶
Index ¶
- Constants
- Variables
- type Redis
- func (r *Redis) ConfigOptions() []Option
- func (r *Redis) Description() string
- func (r *Redis) Init() error
- func (r *Redis) RawTransform(datas []string) ([]string, error)
- func (r *Redis) SampleConfig() string
- func (r *Redis) SetStats(err string) StatsInfo
- func (r *Redis) Stage() string
- func (r *Redis) Stats() StatsInfo
- func (r *Redis) Transform(datas []Data) ([]Data, error)
- func (r *Redis) Type() string
- type Tode
- func (t *Tode) ConfigOptions() []Option
- func (t *Tode) Description() string
- func (t *Tode) Init() error
- func (t *Tode) RawTransform(datas []string) ([]string, error)
- func (t *Tode) SampleConfig() string
- func (t *Tode) SetStats(err string) StatsInfo
- func (t *Tode) Stage() string
- func (t *Tode) Stats() StatsInfo
- func (t *Tode) Transform(datas []Data) ([]Data, error)
- func (t *Tode) Type() string
Constants ¶
View Source
const KeyRedis = "key"
View Source
const KeyTode = "key"
Variables ¶
View Source
var ( OptionRedisKey = Option{ KeyName: KeyRedis, ChooseOnly: false, Default: "", Required: true, Placeholder: "my_field_keyname", DefaultNoUse: true, Description: "按redis日志格式进行解析的键(" + KeyRedis + ")", ToolTip: "对该字段的值按redis的日志格式进行解析", Type: transforms.TransformTypeString, } )
View Source
var ( OptionTodeKey = Option{ KeyName: KeyTode, ChooseOnly: false, Default: "", Required: true, Placeholder: "my_field_keyname", DefaultNoUse: true, Description: "按tode日志格式进行解析的键(" + KeyTode + ")", ToolTip: "对该字段的值按tode的日志格式进行解析", Type: transforms.TransformTypeString, } )
Functions ¶
This section is empty.
Types ¶
type Redis ¶
type Redis struct { Key string `json:"key"` // contains filtered or unexported fields }
func (*Redis) ConfigOptions ¶
func (r *Redis) ConfigOptions() []Option
func (*Redis) Description ¶
func (*Redis) SampleConfig ¶
type Tode ¶
type Tode struct { Key string `json:"key"` // contains filtered or unexported fields }
func (*Tode) ConfigOptions ¶
func (t *Tode) ConfigOptions() []Option
func (*Tode) Description ¶
func (*Tode) SampleConfig ¶
Click to show internal directories.
Click to hide internal directories.