File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ beats-output-http
2+ =================
3+
4+ Outputter for the Elastic Beats platform that simply
5+ POSTs events to an HTTP endpoint.
6+
7+ Usage
8+ =====
9+
10+ To add support for this output plugin to a beat, you
11+ have to import this plugin into your main beats package,
12+ like this:
13+
14+ ```
15+ package main
16+
17+ import (
18+ "os"
19+
20+ _ "github.com/raboof/beats-output-http"
21+
22+ "github.com/elastic/beats/libbeat/beat"
23+ "github.com/raboof/connbeat/beater"
24+ )
25+
26+ var Name = "connbeat"
27+
28+ func main() {
29+ if err := beat.Run(Name, "", beater.New); err != nil {
30+ os.Exit(1)
31+ }
32+ }
33+ ```
34+
35+ Then configure the http output plugin in yourbeat.yaml:
36+
37+ ```
38+ output:
39+ http:
40+ hosts: ["some.example.com:80/foo"]
41+ ```
You can’t perform that action at this time.
0 commit comments