use

package
Version: 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: 2 Imported by: 0

README

USE

When used in input (input->filter->o) the processor will receive events from the last filter from the pipeline used in configuration file.

When used in filter (i->filter->o) the processor will

  • pass the event to the first filter plugin found in the used configuration file
  • receive events from the last filter plugin found in the used configuration file

When used in output (i->filter->output->o) the processor will

  • pass the event to the first filter plugin found in the used configuration file

Synopsys

SETTING TYPE REQUIRED DEFAULT VALUE
path array true []
var hash false {}

Details

path
  • This is a required setting.
  • Value type is array
  • Default value is []

Path to configuration to import in this pipeline, it could be a local file or an url can be relative path to the current configuration.

SPLIT and JOIN : in filter Section, set multiples path to make a split and join into your pipeline

var
  • Value type is hash
  • Default value is {}

You can set variable references in the used configuration by using ${var}. each reference will be replaced by the value of the variable found in this option

The replacement is case-sensitive.

Configuration blueprint

use{
	path=> ["meteo-input.conf"]
	var => {"hostname"=>"myhost","varname"=>"varvalue"}
}

Documentation

Overview

Code generated by "bitfanDoc "; DO NOT EDIT

When used in input (input->filter->o) the processor will receive events from the last filter from the pipeline used in configuration file.

When used in filter (i->filter->o) the processor will

* pass the event to the first filter plugin found in the used configuration file * receive events from the last filter plugin found in the used configuration file

When used in output (i->filter->output->o) the processor will

* pass the event to the first filter plugin found in the used configuration file

Index

Constants

View Source
const (
	PORT_SUCCESS = 0
)

Variables

This section is empty.

Functions

func New

func New() processors.Processor

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL