Versions in this module Expand all Collapse all v11 v11.3.3 Dec 13, 2022 Changes in this version + const DefaultReadCapacityUnits + const DefaultRetentionPeriod + const DefaultWriteCapacityUnits + const ErrValidationException + type Config struct + Clock clockwork.Clock + EnableAutoScaling bool + EnableContinuousBackups bool + Endpoint string + ReadCapacityUnits int64 + ReadMaxCapacity int64 + ReadMinCapacity int64 + ReadTargetValue float64 + Region string + RetentionPeriod *types.Duration + Tablename string + UIDGenerator utils.UID + UseFIPSEndpoint types.ClusterAuditConfigSpecV2_FIPSEndpointState + WriteCapacityUnits int64 + WriteMaxCapacity int64 + WriteMinCapacity int64 + WriteTargetValue float64 + func (cfg *Config) CheckAndSetDefaults() error + func (cfg *Config) SetFromURL(in *url.URL) error + type Log struct + func New(ctx context.Context, cfg Config) (*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, includePrintEvents 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