json

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InstNameNetflowEvent = "netflow-events"
	InstNameVPCEvent     = "vpc-flow-events"
	InstNameAWSVPCEvent  = "aws-vpc-flow-events"
	InstNameHttpEvent    = "http-events"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonFormat

type JsonFormat struct {
	logger.ContextL
	// contains filtered or unexported fields
}

func NewFormat

func NewFormat(log logger.Underlying, compression kt.Compression, doFlatten bool) (*JsonFormat, error)

func (*JsonFormat) From

func (f *JsonFormat) From(raw *kt.Output) ([]map[string]interface{}, error)

func (*JsonFormat) Rollup

func (f *JsonFormat) Rollup(rolls []rollup.Rollup) (*kt.Output, error)

func (*JsonFormat) To

func (f *JsonFormat) To(msgs []*kt.JCHF, serBuf []byte) (*kt.Output, error)

Jump to

Keyboard shortcuts

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