jsontransform

package
v6.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TransformNumbers

func TransformNumbers(dict common.MapStr)

TransformNumbers walks a json decoded tree an replaces json.Number with int64, float64, or string, in this order of preference (i.e. if it parses as an int, use int. if it parses as a float, use float. etc).

func WriteJSONKeys

func WriteJSONKeys(event *beat.Event, keys map[string]interface{}, overwriteKeys bool)

WriteJSONKeys writes the json keys to the given event based on the overwriteKeys option

Types

This section is empty.

Jump to

Keyboard shortcuts

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