Versions in this module Expand all Collapse all v11 v11.3.3 Dec 13, 2022 Changes in this version + type EventsConfig struct + Clock clockwork.Clock + RetentionPeriod time.Duration + UIDGenerator utils.UID + func (cfg *EventsConfig) SetFromParams(params backend.Params) error + func (cfg *EventsConfig) SetFromURL(url *url.URL) error + type Log struct + func New(cfg EventsConfig) (*Log, error) + func (l *Log) Close() error + func (l *Log) EmitAuditEvent(ctx context.Context, in apievents.AuditEvent) error + func (l *Log) GetSessionChunk(namespace string, sid session.ID, offsetBytes, maxBytes int) ([]byte, error) + func (l *Log) GetSessionEvents(namespace string, sid session.ID, after int, inlcudePrintEvents bool) ([]events.EventFields, error) + func (l *Log) SearchEvents(fromUTC, toUTC time.Time, namespace string, eventTypes []string, limit int, ...) ([]apievents.AuditEvent, string, error) + func (l *Log) SearchSessionEvents(fromUTC, toUTC time.Time, limit int, order types.EventOrder, startKey string, ...) ([]apievents.AuditEvent, string, error) + func (l *Log) StreamSessionEvents(ctx context.Context, sessionID session.ID, startIndex int64) (chan apievents.AuditEvent, chan error) Other modules containing this package github.com/zmb3/teleport