stdout

package
v0.0.0-...-691b052 Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

README

STDOUT

A simple output which prints to the STDOUT of the shell running BitFan. This output can be quite convenient when debugging plugin configurations, by allowing instant access to the event data after it has passed through the inputs and filters.

For example, the following output configuration, in conjunction with the BitFan -e command-line flag, will allow you to see the results of your event pipeline for quick iteration.

output {
  stdout {}
}

Useful codecs include:

pp: outputs event data using the go "k0kubun/pp" package if codec is rubydebug, it will treated as "pp"

output {
  stdout { codec => pp }
}

json: outputs event data in structured JSON format

output {
  stdout { codec => json }
}

Synopsys

SETTING TYPE REQUIRED DEFAULT VALUE
codec codec false "line"

Details

codec
  • Value type is codec
  • Default value is "line"

Codec can be one of "json", "line", "pp" or "rubydebug"

Configuration blueprint

stdout{
	codec => "pp"
}

Documentation

Overview

Code generated by "bitfanDoc "; DO NOT EDIT

A simple output which prints to the STDOUT of the shell running BitFan. This output can be quite convenient when debugging plugin configurations, by allowing instant access to the event data after it has passed through the inputs and filters.

For example, the following output configuration, in conjunction with the BitFan -e command-line flag, will allow you to see the results of your event pipeline for quick iteration. ```

output {
  stdout {}
}

``` Useful codecs include:

pp: outputs event data using the go "k0kubun/pp" package if codec is rubydebug, it will treated as "pp" ```

output {
  stdout { codec => pp }
}

``` json: outputs event data in structured JSON format ```

output {
  stdout { codec => json }
}

```

Index

Constants

View Source
const (
	CODEC_PRETTYPRINT string = "pp"
	CODEC_LINE        string = "line"
	CODEC_RUBYDEBUG   string = "rubydebug"
	CODEC_JSON        string = "json"
)

Variables

This section is empty.

Functions

func New

func New() processors.Processor

Types

This section is empty.

Jump to

Keyboard shortcuts

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