Documentation ¶
Index ¶
- type Echo
- type GrokCounter
- func NewGrokCounter(patternsByName map[string]string, predicate logentry.Predicate) (tc *GrokCounter)
- func NewGrokCounterWithLanguageTag(locale language.Tag, patternsByName map[string]string, ...) (tc *GrokCounter)
- func NewGrokCounterWithLocale(locale string, patternsByName map[string]string, predicate logentry.Predicate) (tc *GrokCounter)
- type Multiplexer
- type Summarizer
- type TagCounter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Echo ¶
type Echo struct {
// contains filtered or unexported fields
}
func (*Echo) NumberOfLinesAfterSummarizeAsyncCompleted ¶
func (*Echo) StringAfterSummarizeAsyncCompleted ¶
func (*Echo) SummarizeAsync ¶
type GrokCounter ¶
type GrokCounter struct {
// contains filtered or unexported fields
}
func NewGrokCounter ¶
func NewGrokCounter(patternsByName map[string]string, predicate logentry.Predicate) (tc *GrokCounter)
func (*GrokCounter) String ¶
func (tc *GrokCounter) String() string
func (*GrokCounter) StringAfterSummarizeAsyncCompleted ¶
func (tc *GrokCounter) StringAfterSummarizeAsyncCompleted() string
func (*GrokCounter) Summarize ¶
func (tc *GrokCounter) Summarize(entries <-chan logentry.LogEntry)
func (*GrokCounter) SummarizeAsync ¶
func (tc *GrokCounter) SummarizeAsync(entries <-chan logentry.LogEntry)
type Multiplexer ¶
type Multiplexer struct {
Summarizers []Summarizer
}
func NewMultiplexer ¶
func NewMultiplexer() *Multiplexer
func (*Multiplexer) AddSummarizer ¶
func (m *Multiplexer) AddSummarizer(s Summarizer)
func (*Multiplexer) StringAfterSummarizeAsyncCompleted ¶
func (m *Multiplexer) StringAfterSummarizeAsyncCompleted() string
func (*Multiplexer) Summarize ¶
func (m *Multiplexer) Summarize(channels []chan logentry.LogEntry, entries <-chan logentry.LogEntry)
func (*Multiplexer) SummarizeAsync ¶
func (m *Multiplexer) SummarizeAsync(entries <-chan logentry.LogEntry)
type Summarizer ¶
type TagCounter ¶
type TagCounter struct {
// contains filtered or unexported fields
}
func NewTagCounter ¶
func NewTagCounter(predicate logentry.Predicate) (tc *TagCounter)
func NewTagCounterWithLanguageTag ¶
func NewTagCounterWithLanguageTag(locale language.Tag, predicate logentry.Predicate) (tc *TagCounter)
func NewTagCounterWithLocale ¶
func NewTagCounterWithLocale(locale string, predicate logentry.Predicate) (tc *TagCounter)
func (*TagCounter) String ¶
func (tc *TagCounter) String() string
func (*TagCounter) StringAfterSummarizeAsyncCompleted ¶
func (tc *TagCounter) StringAfterSummarizeAsyncCompleted() string
func (*TagCounter) Summarize ¶
func (tc *TagCounter) Summarize(entries <-chan logentry.LogEntry)
func (*TagCounter) SummarizeAsync ¶
func (tc *TagCounter) SummarizeAsync(entries <-chan logentry.LogEntry)
Click to show internal directories.
Click to hide internal directories.