Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultProfile = Profile{ Name: "default", Pipeline: Pipeline{}, DisplayConfig: DisplayConfig{ Columns: []ColumnConfig{ {Title: "id", Width: 0, ValueKey: ValueKeyId}, {Title: "log", Width: 1, ValueKey: ValueKeyRaw}, }, }, }
Functions ¶
This section is empty.
Types ¶
type ColumnConfig ¶
type DisplayConfig ¶
type DisplayConfig struct {
Columns []ColumnConfig
}
type Parser ¶
type Parser struct {
Regex *ParserRegex
Logfmt *ParserLogfmt
Json *ParserJson
}
type ParserJson ¶
type ParserJson struct{}
type ParserLogfmt ¶
type ParserLogfmt struct{}
type ParserRegex ¶
type ParserRegex struct {
Values []ParserRegexValue
}
type ParserRegexValue ¶
type Profile ¶
type Profile struct {
Name string
Pipeline Pipeline
DisplayConfig DisplayConfig
}
type ReservedValueKey ¶
type ReservedValueKey = string
const ( ValueKeyId ReservedValueKey = "__id" ValueKeyRaw ReservedValueKey = "__raw" )
type ValidationData ¶
type ValidationData struct {
SelectedProfile string
}
Click to show internal directories.
Click to hide internal directories.