Skip to content

Commit

Permalink
Use the libbeat branch that contains http output code
Browse files Browse the repository at this point in the history
  • Loading branch information
raboof committed Jul 1, 2016
1 parent c8364b6 commit 987e847
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Expand Up @@ -2,7 +2,9 @@ language: go

script: make test

install: go get -t ./...
install:
- go get -t ./...
- ./switchGoPath.sh github.com/elastic/beats github.com/raboof/beats httpOutput

go:
- 1.5.1
Expand Down
13 changes: 8 additions & 5 deletions connbeat.yml
Expand Up @@ -4,15 +4,18 @@ connbeat:
aggregation: 10s

output:
kafka:
hosts: ["localhost:9092"]
topic: connbeat
http:
hosts: ["pi.bzzt.net:80/foo"]

#kafka:
# hosts: ["localhost:9092"]
# topic: connbeat

#elasticsearch:
# hosts: ["localhost:9200"]
#template:
# name: "connbeat"
# path: "connbeat.template.json"

console:
pretty: true
#console:
#pretty: true
10 changes: 10 additions & 0 deletions switchGoPath.sh
@@ -0,0 +1,10 @@
#!/bin/sh

# example:
# ./switchGoPath.sh github.com/elastic/beats github.com/raboof/beats httpOutput
echo "Changing $1 to point to $2 branch $3"

cd $GOPATH/src/$1
git remote add build_remote https://$2
git fetch --all
git checkout remotes/build_remote/$3

0 comments on commit 987e847

Please sign in to comment.