logspout-logstash
logspout-logstash copied to clipboard
Not possible to build the custom version
I've followed the instructions listed here and on the original logspout repository, but I appear to be having problems finding the logspout-logstash dependency (both locally and on CI)
The error I'm getting is:
modules.go:4:2: cannot find package "github.com/looplab/logspout-logstash" in any of:
/go/src/github.com/gliderlabs/logspout/vendor/github.com/looplab/logspout-logstash (vendor tree)
/usr/lib/go/src/github.com/looplab/logspout-logstash (from $GOROOT)
/go/src/github.com/looplab/logspout-logstash (from $GOPATH)
I'm sadly not a go expert (or even beginner) so I'm a bit stumped.
$ go version
go version go1.10.3 linux/amd64
$ echo $GOPATH
/home/ant/go
$ cat modules.go
package main
import (
_ "github.com/looplab/logspout-logstash"
_ "github.com/gliderlabs/logspout/healthcheck"
_ "github.com/gliderlabs/logspout/adapters/raw"
_ "github.com/gliderlabs/logspout/adapters/syslog"
_ "github.com/gliderlabs/logspout/adapters/multiline"
_ "github.com/gliderlabs/logspout/httpstream"
_ "github.com/gliderlabs/logspout/routesapi"
_ "github.com/gliderlabs/logspout/transports/tcp"
_ "github.com/gliderlabs/logspout/transports/udp"
_ "github.com/gliderlabs/logspout/transports/tls"
)