Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CLEFBatchFormatter ¶
type CLEFBatchFormatter struct {
// contains filtered or unexported fields
}
CLEFBatchFormatter formats multiple events for batch submission
func NewCLEFBatchFormatter ¶
func NewCLEFBatchFormatter() *CLEFBatchFormatter
NewCLEFBatchFormatter creates a new batch formatter
func (*CLEFBatchFormatter) FormatBatch ¶
func (f *CLEFBatchFormatter) FormatBatch(events []*core.LogEvent) ([]byte, error)
FormatBatch formats multiple events as newline-delimited JSON
type CLEFFormatter ¶
type CLEFFormatter struct {
// RenderMessage controls whether to render the message from the template
RenderMessage bool
}
CLEFFormatter formats log events in Compact Log Event Format (CLEF) for Seq
func NewCLEFFormatter ¶
func NewCLEFFormatter() *CLEFFormatter
NewCLEFFormatter creates a new CLEF formatter
type SeqIngestionFormat ¶
type SeqIngestionFormat struct {
Events []json.RawMessage `json:"events"`
}
SeqIngestionFormat represents the format for Seq's ingestion API
Click to show internal directories.
Click to hide internal directories.