udp

package module
v0.0.0-...-13eb7c1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: MIT Imports: 8 Imported by: 0

README

beats-udp-output

How To Use

  1. Clone this project to elastic/beats/libbeat/output/

  2. Modify elastic/beats/libbeat/publisher/includes/includes.go :

    // add import
    import _ "github.com/elastic/beats/libbeat/output/udp"
    
  3. Compile beats

Configuration

Example
output.udp:
  host: 127.0.0.1
  port: 8080
  codec: ...
Options
codec

Output codec configuration. If the codec section is missing, events will be json encoded using the pretty option.

See Change the output codec for more information.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host string `config:"host"`
	Port string `config:"port"`

	Codec codec.Config `config:"codec"`
}

Jump to

Keyboard shortcuts

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