stdout

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: 4 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

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