json

package
v0.6.9 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2019 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

JSON

Synopsys

SETTING TYPE REQUIRED DEFAULT VALUE
skip_on_invalid_json bool false false
source string true ""
target string false ""
tag_on_failure array false ["_jsonparsefailure"]

Details

skip_on_invalid_json
  • Value type is bool
  • Default value is false

Allow to skip filter on invalid json

source
  • This is a required setting.
  • Value type is string
  • Default value is ""

The configuration for the JSON filter

target
  • Value type is string
  • Default value is ""

Define the target field for placing the parsed data. If this setting is omitted, the JSON data will be stored at the root (top level) of the event

tag_on_failure
  • Value type is array
  • Default value is ["_jsonparsefailure"]

Append values to the tags field when there has been no successful match

Configuration blueprint

json{
	skip_on_invalid_json => false
	source => ""
	target => ""
	tag_on_failure => ["_jsonparsefailure"]
}

Documentation

Overview

Code generated by "bitfanDoc "; DO NOT EDIT

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() processors.Processor

Parses JSON events

Types

This section is empty.

Jump to

Keyboard shortcuts

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