Skip to content

mbrancato/beats-output-http

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

beats-output-http

Outputter for the Elastic Beats platform that simply POSTs events to an HTTP endpoint.

Build Status

Usage

To add support for this output plugin to a beat, you have to import this plugin into your main beats package (e.g. elastic/beats/filebeat/main.go), like this:

package main

import (
  "os"

  "github.com/elastic/beats/filebeat/cmd"
  _ "github.com/mbrancato/beats-output-http"
)

func main() {
  if err := cmd.RootCmd.Execute(); err != nil {
    os.Exit(1)
  }
}

Then configure the http output plugin in your beat config (e.g. filebeat.yml):

output:
  http:
    hosts: ["host.example.com"]
    protocol: "http"
    path: "messages"

More details of config options can be found in the configuration_example.yml file.

About

HTTP output producer for the Elastic Beats framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%