Documentation ¶
Index ¶
- Constants
- func ConvertWebParserConfig(conf conf.MapConf) conf.MapConf
- func ParseLine(dataPipeline <-chan ParseInfo, resultChan chan ParseResult, wg *sync.WaitGroup, ...)
- func ParseLineDataSlice(dataPipeline <-chan ParseInfo, resultChan chan ParseResult, wg *sync.WaitGroup, ...)
- func RegisterConstructor(typ string, c Constructor)
- func Time1Day(t int64) string
- func Time1DayInt(t int64) int64
- func Time5Min(t int64) string
- func Time5MinInt(t int64) int64
- type Constructor
- type Flushable
- type ParseInfo
- type ParseResult
- type ParseResultSlice
- type Parser
- type ParserType
- type Registry
- type ServerParser
Constants ¶
View Source
const SECOND_PER_5MIN = 5 * 60
View Source
const SECOND_PER_DAY = 24 * 60 * 60
Variables ¶
This section is empty.
Functions ¶
func ConvertWebParserConfig ¶ added in v1.4.6
func ParseLineDataSlice ¶ added in v1.5.3
func RegisterConstructor ¶ added in v1.5.0
func RegisterConstructor(typ string, c Constructor)
RegisterConstructor adds a new constructor for a given type of reader.
func Time1DayInt ¶
func Time5MinInt ¶
Types ¶
type ParseResult ¶ added in v1.5.3
type ParseResultSlice ¶ added in v1.5.3
type ParseResultSlice []ParseResult
func (ParseResultSlice) Len ¶ added in v1.5.3
func (slice ParseResultSlice) Len() int
func (ParseResultSlice) Less ¶ added in v1.5.3
func (slice ParseResultSlice) Less(i, j int) bool
func (ParseResultSlice) Swap ¶ added in v1.5.3
func (slice ParseResultSlice) Swap(i, j int)
type ParserType ¶ added in v1.3.6
type ParserType interface {
Type() string
}
type Registry ¶ added in v1.5.0
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶ added in v1.5.0
func NewRegistry() *Registry
func (*Registry) NewLogParser ¶ added in v1.5.0
type ServerParser ¶ added in v1.5.4
type ServerParser interface {
ServerConfig() map[string]interface{}
}
Directories ¶
Path | Synopsis |
---|---|
Package builtin does nothing but import all builtin parsers to execute their init functions.
|
Package builtin does nothing but import all builtin parsers to execute their init functions. |
Click to show internal directories.
Click to hide internal directories.