Comments (10)
I tried to use go install command and got the following error:
go install
github.com/christiangalsterer/httpbeat/beat
beat/httpbeat.go:34: b.Events undefined (type *beat.Beat has no field or method Events)
Please advise on how to resolve the issue.
Thanks.
from httpbeat.
Same error here when attempting to build on windows.
# github.com/christiangalsterer/httpbeat/beat
beat\httpbeat.go:34: b.events undefined (type *beat.Beat has no field or method events)
from httpbeat.
I had the same problem. To solve this quickly, you have to go to the beats library (should be downloaded in \src\github.com\elastic\beats) and checkout to v.1.2.0 tag.
from httpbeat.
I get following error can someone help me please?
godep: [WARNING]: godep should only be used inside a valid go package directory and
godep: [WARNING]: may not function correctly. You are probably outside of your $GOPATH.
godep: [WARNING]: Current Directory: ../Tools/httpbeat-master
godep: [WARNING]: $GOPATH: ../Tools/httpbeat-master
godep: WARNING: Go version (go1.6) & $GO15VENDOREXPERIMENT= wants to enable the vendor experiment, but disabling because a Godep workspace (Godeps/_workspace) exists
main.go:5:2: cannot find package "github.com/christiangalsterer/httpbeat/beat" in any of:
/usr/local/go/src/github.com/christiangalsterer/httpbeat/beat (from $GOROOT)
../Tools/httpbeat-master/Godeps/_workspace/src/github.com/christiangalsterer/httpbeat/beat (from $GOPATH)
.../Tools/httpbeat-master/src/github.com/christiangalsterer/httpbeat/beat
godep: go exit status 1
make: *** [httpbeat] Error 1
from httpbeat.
Not sure if this makes a difference but it seems that you are using Go 1.6. I used 1.5 so far make this makes a difference.
Can you also check that your GOPATH env variable is set correctly? I have set it to the parent directory of all my Go projects.
from httpbeat.
Could it be that this is related to different versions of libbeat used? Golang 1.6 as GOVENDOREXPERIMENT enabled by default and we use it in libbeat.
from httpbeat.
I think so too.
I will update a new version soon, using Glide for better dependency management/version handling.
from httpbeat.
Version 1.2.0 now available using glide
from httpbeat.
Thanks @christiangalsterer ,
your work helps me a lot, while I was trying to use the httpbeat. First I install gvm,then I install golang1.4 and golang1.6.3,then glide,then I cd $GOROOT/src and I git clone httpbeat,after I make httpbeat ,these errors appears, can you help me? thanks
main.go:5:2: cannot find package "github.com/christiangalsterer/httpbeat/beat" in any of:
/home/ubuntu/.gvm/gos/go1.6.3/src/httpbeat/vendor/github.com/christiangalsterer/httpbeat/beat (vendor tree)
/home/ubuntu/.gvm/gos/go1.6.3/src/vendor/github.com/christiangalsterer/httpbeat/beat
/home/ubuntu/.gvm/gos/go1.6.3/src/github.com/christiangalsterer/httpbeat/beat (from $GOROOT)
/home/ubuntu/.gvm/pkgsets/go1.6.3/global/src/github.com/christiangalsterer/httpbeat/beat (from $GOPATH)
make: *** [httpbeat] Error 1
from httpbeat.
Where is your $GOPATH variable pointing to? It should point to the root of all your go projects.
from httpbeat.
Related Issues (20)
- support for beats 5.0.0 ? HOT 9
- json unmarshalling of large numbers HOT 2
- Elasticsearch plugin issue, missing json file HOT 6
- https issues HOT 14
- Problem in parsing Spring Boot Metrics HOT 3
- http beat consume > 2Gb of memory HOT 6
- Current date in httpbeat.yml HOT 1
- Connection error when sampling many URLs HOT 5
- Is it possible to include response time? HOT 1
- Does httpbeat support dynamic reloading of configuration files? HOT 1
- rpm package version doesn't match release version HOT 2
- timestamp config
- Making the template work for kibana HOT 20
- HTTP Status code in event doesn't match documentation
- Support returning HTTP status phrase
- Is it possible to set up a `config_dir` for conf files HOT 5
- NTLM Authentication HOT 1
- Add ability to prevent sending certain headers?
- No method specified error
- problems about Build, Test, Run HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from httpbeat.