# Go get github.com/elastic/beats@v8 fails

**URL:** <https://discuss.elastic.co/t/go-get-github-com-elastic-beats-v8-fails/318027>\
**Category:** Beats\
**Tags:** beats-module, beats-development\
**Created:** [November 2, 2022, 4:26pm UTC](https://discuss.elastic.co/t/go-get-github-com-elastic-beats-v8-fails/318027 "2022-11-02T16:26:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Martinez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_martinez/32/112843_2.png) [@Andrew\_Martinez](https://discuss.elastic.co/u/Andrew_Martinez)\
**Post date:** [November 2, 2022, 4:26pm UTC](https://discuss.elastic.co/t/go-get-github-com-elastic-beats-v8-fails/318027/1 "2022-11-02T16:26:28Z")

</div>

Was looking at `github.com/elastic/beats` and saw releases for `v8.*.*`, but the go.mod file for all of those tagged versions has `module github.com/elastic/beats/v7`. It seems like they should be `module github.com/elastic/beats/v8` otherwise, the following happens:

> $\> go get [github.com/elastic/beats@v8](http://github.com/elastic/beats@v8)  
> go: [github.com/elastic/beats@v8:](http://github.com/elastic/beats@v8:) no matching versions for query "v8"

While this succeeds:

> $\> go get [github.com/elastic/beats@v7](http://github.com/elastic/beats@v7)  
> go: downloading [GitHub - joeshaw/multierror: Go package for encapsulating multiple errors](http://github.com/joeshaw/multierror) v0.0.0-20140124173710-69b34d4ec901  
> go: downloading [GitHub - mitchellh/hashstructure: Get hash values for arbitrary values in Go (golang).](http://github.com/mitchellh/hashstructure) v1.1.0  
> go: downloading [GitHub - dop251/goja\_nodejs: Nodejs compatibility library for Goja](http://github.com/dop251/goja_nodejs) v0.0.0-20221009164102-3aa5028e57f6  
> go: downloading [GitHub - dop251/goja: ECMAScript/JavaScript engine in pure Go](http://github.com/dop251/goja) v0.0.0-20221025165401-cb5011b539fe  
> go: downloading [GitHub - elastic/go-sysinfo: go-sysinfo is a library for collecting system information.](http://github.com/elastic/go-sysinfo) v1.8.1  
> go: downloading [GitHub - elastic/go-ucfg: Golang universal configuration](http://github.com/elastic/go-ucfg) v0.8.6  
> go: downloading [GitHub - magefile/mage: a Make/rake-like dev tool using Go](http://github.com/magefile/mage) v1.14.0  
> go: downloading [GitHub - gofrs/uuid: A UUID package originally forked from github.com/satori/go.uuid](http://github.com/gofrs/uuid) v4.3.1+incompatible

and installs v7.x.x latest.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 30, 2022, 6:27pm UTC](https://discuss.elastic.co/t/go-get-github-com-elastic-beats-v8-fails/318027/2 "2022-11-30T18:27:09Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
