beats: github.com/elastic/beats/filebeat/input/stdin Index | Files

package stdin

import "github.com/elastic/beats/filebeat/input/stdin"

Index

Package Files

input.go

func NewInput Uses

func NewInput(cfg *common.Config, outlet channel.Connector, context input.Context) (input.Input, error)

NewInput creates a new stdin input This input contains one harvester which is reading from stdin

type Input Uses

type Input struct {
    // contains filtered or unexported fields
}

Input is an input for stdin

func (*Input) Run Uses

func (p *Input) Run()

Run runs the input

func (*Input) Stop Uses

func (p *Input) Stop()

Stop stops the input

func (*Input) Wait Uses

func (p *Input) Wait()

Wait waits for completion of the input.

Package stdin imports 9 packages (graph) and is imported by 11 packages. Updated 2019-08-10. Refresh now. Tools for package owners.