parser

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const RDSAudit = "rdsaudit"

Variables

This section is empty.

Functions

This section is empty.

Types

type Parsed

type Parsed struct {
	Timestamp int64                  `json:"timestamp"`
	Message   map[string]interface{} `json:"message"`
	LogEvent  *datasource.LogEvent   `json:"-"`
}

type Parser

type Parser interface {
	Parse(context.Context, <-chan *datasource.LogEvent) <-chan *Parsed
	ParseLogEvent(*datasource.LogEvent) ([]*Parsed, error)
	NewFakeLogEvent() (*datasource.LogEvent, error)
	Err() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL