-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Filebeat] Enable journald input in releases (#27351)
Use the main-debian8 variant of golang-crossbuilder to build Filebeat packages for linux/amd64 and linux/368. Previously a debian7 image was used, but debian7 does not have the systemd libraries needed for journald. Debian 8 uses glibc 2.19 and debian 7 uses 2.13. We used debian7 because the binaries produced worked on RHEL 6 which has glibc 2.12. To ensure that the Filebeat binaries for linux/amd64 and linux/386 continue to work on RHEL 6 the build process will check the glibc requirement to ensure it is <=2.12. To keep the linked glibc version compatible with RHEL 6 I had to upgrade to github.com/dgraph-io/badger/v3 from v2. v3 removed a bunch of cgo usages which reduced the need on various libc functions. badger adopted golang/glog for logging. This library is adds global CLI flags that conflict with Beats own logging CLI flags (like '-v'). This is a common problem for glog (k8s encountered this). To address the problem I forked golang/glog and made the flag.FlagSet used by the library configurable.
- Loading branch information
1 parent
9256741
commit f7d39c8
Showing
19 changed files
with
564 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4440,12 +4440,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
|
||
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/dgraph-io/badger/v2 | ||
Version: v2.2007.3-0.20201012072640-f5a7e0a1c83b | ||
Dependency : github.com/dgraph-io/badger/v3 | ||
Version: v3.2103.1 | ||
Licence type (autodetected): Apache-2.0 | ||
-------------------------------------------------------------------------------- | ||
|
||
Contents of probable licence file $GOMODCACHE/github.com/dgraph-io/badger/[email protected]/LICENSE: | ||
Contents of probable licence file $GOMODCACHE/github.com/dgraph-io/badger/[email protected]/LICENSE: | ||
|
||
Apache License | ||
Version 2.0, January 2004 | ||
|
@@ -9792,11 +9792,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/gogo/protobuf | ||
Version: v1.3.1 | ||
Version: v1.3.2 | ||
Licence type (autodetected): BSD-3-Clause | ||
-------------------------------------------------------------------------------- | ||
|
||
Contents of probable licence file $GOMODCACHE/github.com/gogo/[email protected].1/LICENSE: | ||
Contents of probable licence file $GOMODCACHE/github.com/gogo/[email protected].2/LICENSE: | ||
|
||
Copyright (c) 2013, The GoGo Authors. All rights reserved. | ||
|
||
|
@@ -10087,11 +10087,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/golang/snappy | ||
Version: v0.0.1 | ||
Version: v0.0.3 | ||
Licence type (autodetected): BSD-3-Clause | ||
-------------------------------------------------------------------------------- | ||
|
||
Contents of probable licence file $GOMODCACHE/github.com/golang/[email protected].1/LICENSE: | ||
Contents of probable licence file $GOMODCACHE/github.com/golang/[email protected].3/LICENSE: | ||
|
||
Copyright (c) 2011 The Snappy-Go Authors. All rights reserved. | ||
|
||
|
@@ -10311,11 +10311,11 @@ Contents of probable licence file $GOMODCACHE/github.com/gomodule/[email protected]/ | |
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/google/flatbuffers | ||
Version: v1.7.2-0.20170925184458-7a6b2bf521e9 | ||
Version: v1.12.0 | ||
Licence type (autodetected): Apache-2.0 | ||
-------------------------------------------------------------------------------- | ||
|
||
Contents of probable licence file $GOMODCACHE/github.com/google/flatbuffers@v1.7.2-0.20170925184458-7a6b2bf521e9/LICENSE.txt: | ||
Contents of probable licence file $GOMODCACHE/github.com/google/flatbuffers@v1.12.0/LICENSE.txt: | ||
|
||
|
||
Apache License | ||
|
@@ -10506,7 +10506,7 @@ Contents of probable licence file $GOMODCACHE/github.com/google/[email protected] | |
same "printed page" as the copyright notice for easier | ||
identification within third-party archives. | ||
|
||
Copyright 2014 Google Inc. | ||
Copyright [yyyy] [name of copyright owner] | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
@@ -10523,11 +10523,11 @@ Contents of probable licence file $GOMODCACHE/github.com/google/[email protected] | |
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/google/go-cmp | ||
Version: v0.5.2 | ||
Version: v0.5.4 | ||
Licence type (autodetected): BSD-3-Clause | ||
-------------------------------------------------------------------------------- | ||
|
||
Contents of probable licence file $GOMODCACHE/github.com/google/[email protected].2/LICENSE: | ||
Contents of probable licence file $GOMODCACHE/github.com/google/[email protected].4/LICENSE: | ||
|
||
Copyright (c) 2017 The Go Authors. All rights reserved. | ||
|
||
|
@@ -21798,43 +21798,6 @@ Contents of probable licence file $GOMODCACHE/github.com/!burnt!sushi/[email protected] | |
// such litigation is filed. | ||
|
||
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/DataDog/zstd | ||
Version: v1.4.1 | ||
Licence type (autodetected): BSD-3-Clause | ||
-------------------------------------------------------------------------------- | ||
|
||
Contents of probable licence file $GOMODCACHE/github.com/!data!dog/[email protected]/LICENSE: | ||
|
||
Simplified BSD License | ||
|
||
Copyright (c) 2016, Datadog <[email protected]> | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright notice, | ||
this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
* Neither the name of the copyright holder nor the names of its contributors | ||
may be used to endorse or promote products derived from this software | ||
without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE | ||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/Microsoft/hcsshim | ||
Version: v0.8.7 | ||
|
@@ -26435,11 +26398,11 @@ SOFTWARE. | |
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/dgraph-io/ristretto | ||
Version: v0.0.3-0.20200630154024-f66de99634de | ||
Version: v0.1.0 | ||
Licence type (autodetected): Apache-2.0 | ||
-------------------------------------------------------------------------------- | ||
|
||
Contents of probable licence file $GOMODCACHE/github.com/dgraph-io/ristretto@v0.0.3-0.20200630154024-f66de99634de/LICENSE: | ||
Contents of probable licence file $GOMODCACHE/github.com/dgraph-io/ristretto@v0.1.0/LICENSE: | ||
|
||
Apache License | ||
Version 2.0, January 2004 | ||
|
@@ -29856,12 +29819,12 @@ Contents of probable licence file $GOMODCACHE/github.com/golang-sql/[email protected] | |
limitations under the License. | ||
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/golang/glog | ||
Version: v0.0.0-20160126235308-23def4e6c14b | ||
Dependency : github.com/elastic/glog | ||
Version: v1.0.1-0.20210831205241-7d8b5c89dfc4 | ||
Licence type (autodetected): Apache-2.0 | ||
-------------------------------------------------------------------------------- | ||
|
||
Contents of probable licence file $GOMODCACHE/github.com/golang/glog@v0.0.0-20160126235308-23def4e6c14b/LICENSE: | ||
Contents of probable licence file $GOMODCACHE/github.com/elastic/glog@v1.0.1-0.20210831205241-7d8b5c89dfc4/LICENSE: | ||
|
||
Apache License | ||
Version 2.0, January 2004 | ||
|
@@ -34800,11 +34763,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/kisielk/errcheck | ||
Version: v1.2.0 | ||
Version: v1.5.0 | ||
Licence type (autodetected): MIT | ||
-------------------------------------------------------------------------------- | ||
|
||
Contents of probable licence file $GOMODCACHE/github.com/kisielk/errcheck@v1.2.0/LICENSE: | ||
Contents of probable licence file $GOMODCACHE/github.com/kisielk/errcheck@v1.5.0/LICENSE: | ||
|
||
Copyright (c) 2013 Kamil Kisiel | ||
|
||
|
@@ -34874,11 +34837,11 @@ match.go, match_test.go: | |
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/klauspost/compress | ||
Version: v1.11.0 | ||
Version: v1.12.3 | ||
Licence type (autodetected): BSD-3-Clause | ||
-------------------------------------------------------------------------------- | ||
|
||
Contents of probable licence file $GOMODCACHE/github.com/klauspost/compress@v1.11.0/LICENSE: | ||
Contents of probable licence file $GOMODCACHE/github.com/klauspost/compress@v1.12.3/LICENSE: | ||
|
||
Copyright (c) 2012 The Go Authors. All rights reserved. | ||
Copyright (c) 2019 Klaus Post. All rights reserved. | ||
|
@@ -40553,11 +40516,11 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI | |
|
||
-------------------------------------------------------------------------------- | ||
Dependency : go.opencensus.io | ||
Version: v0.22.2 | ||
Version: v0.22.5 | ||
Licence type (autodetected): Apache-2.0 | ||
-------------------------------------------------------------------------------- | ||
|
||
Contents of probable licence file $GOMODCACHE/[email protected].2/LICENSE: | ||
Contents of probable licence file $GOMODCACHE/[email protected].5/LICENSE: | ||
|
||
|
||
Apache License | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.