-
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.
Add ECS logging MVP to libbeat (#17974)
Enable minimal ECS conformant logging by setting `logging.ecs:true`: * adds @timestamp, log.level, message and ecs.version to every log line * if EnableCaller is set add log.origin.file and log.origin.line. * logs error.message when error is given implements #17942
- Loading branch information
Showing
120 changed files
with
4,147 additions
and
718 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 |
---|---|---|
|
@@ -3263,7 +3263,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
|
||
-------------------------------------------------------------------- | ||
Dependency: github.com/hashicorp/errwrap | ||
Revision: 7554cd9344ce | ||
Version: v1.0.0 | ||
License type (autodetected): MPL-2.0 | ||
./vendor/github.com/hashicorp/errwrap/LICENSE: | ||
-------------------------------------------------------------------- | ||
|
@@ -3624,7 +3624,7 @@ Exhibit B - “Incompatible With Secondary Licenses” Notice | |
|
||
-------------------------------------------------------------------- | ||
Dependency: github.com/hashicorp/go-multierror | ||
Revision: ed905158d874 | ||
Version: v1.0.0 | ||
License type (autodetected): MPL-2.0 | ||
./vendor/github.com/hashicorp/go-multierror/LICENSE: | ||
-------------------------------------------------------------------- | ||
|
@@ -7180,7 +7180,7 @@ SOFTWARE. | |
|
||
-------------------------------------------------------------------- | ||
Dependency: github.com/stretchr/testify | ||
Version: v1.4.0 | ||
Version: v1.5.0 | ||
License type (autodetected): MIT | ||
./vendor/github.com/stretchr/testify/LICENSE: | ||
-------------------------------------------------------------------- | ||
|
@@ -7538,6 +7538,117 @@ License type (autodetected): Apache-2.0 | |
Apache License 2.0 | ||
|
||
|
||
-------------------------------------------------------------------- | ||
Dependency: go.elastic.co/ecszap | ||
Version: v0.1.1 | ||
Revision: cdd95a104193 | ||
License type (autodetected): Apache-2.0 | ||
./vendor/go.elastic.co/ecszap/LICENSE: | ||
-------------------------------------------------------------------- | ||
Apache License 2.0 | ||
|
||
-------NOTICE.txt----- | ||
ecszap | ||
Copyright 2020-2020 Elasticsearch B.V. | ||
|
||
========================================================================== | ||
Third party libraries used by the Elastic ecszap project: | ||
========================================================================== | ||
|
||
Dependency: github.com/stretchr/testify | ||
Version: v1.4.0 | ||
License type: MIT | ||
https://github.com/stretchr/testify/blob/199de5f3a493a9bf2dcc7fa5bf841d7759c13d7d/LICENSE: | ||
-------------------------------------------------------------------- | ||
MIT License | ||
|
||
Copyright (c) 2012-2018 Mat Ryer and Tyler Bunnell | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
-------------------------------------------------------------------- | ||
|
||
|
||
Dependency: go.uber.org/zap | ||
Version: v1.14.0 | ||
License type: MIT | ||
https://github.com/uber-go/zap/blob/0bd02a6308c1bac3a03b02dc385555297cb22f83/LICENSE.txt: | ||
-------------------------------------------------------------------- | ||
Copyright (c) 2016-2017 Uber Technologies, Inc. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
-------------------------------------------------------------------- | ||
|
||
|
||
Dependency: github.com/magefile/mage | ||
Version: v1.9.0 | ||
License type: Apache-2.0 | ||
https://github.com/magefile/mage/blob/324c6690ed410efc1d9b597e477c46d42cbeb340/LICENSE: | ||
-------------------------------------------------------------------- | ||
Apache License 2.0 | ||
|
||
|
||
-------------------------------------------------------------------- | ||
Dependency: github.com/pkg/errors | ||
Version: v0.9.1 | ||
License type (autodetected): BSD-2-Clause | ||
https://github.com/pkg/errors/blob/614d223910a179a466c1767a985424175c39b465/LICENSE | ||
-------------------------------------------------------------------- | ||
Copyright (c) 2015, Dave Cheney <[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. | ||
|
||
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 HOLDER 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: go.elastic.co/fastjson | ||
Version: v1.0.0 | ||
|
@@ -7558,7 +7669,7 @@ Apache License 2.0 | |
|
||
-------------------------------------------------------------------- | ||
Dependency: go.uber.org/atomic | ||
Version: v1.3.1 | ||
Version: v1.5.0 | ||
License type (autodetected): MIT | ||
./vendor/go.uber.org/atomic/LICENSE.txt: | ||
-------------------------------------------------------------------- | ||
|
@@ -7584,8 +7695,7 @@ THE SOFTWARE. | |
|
||
-------------------------------------------------------------------- | ||
Dependency: go.uber.org/multierr | ||
Version: v1.1.1 | ||
Revision: fb7d312c2c04 | ||
Version: v1.3.0 | ||
License type (autodetected): MIT | ||
./vendor/go.uber.org/multierr/LICENSE.txt: | ||
-------------------------------------------------------------------- | ||
|
@@ -7609,9 +7719,35 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
|
||
-------------------------------------------------------------------- | ||
Dependency: go.uber.org/tools | ||
Revision: 2cfd321de3ee | ||
License type (autodetected): MIT | ||
./vendor/go.uber.org/tools/LICENSE: | ||
-------------------------------------------------------------------- | ||
Copyright (c) 2017 Uber Technologies, Inc. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
|
||
-------------------------------------------------------------------- | ||
Dependency: go.uber.org/zap | ||
Version: v1.7.1 | ||
Version: v1.14.0 | ||
License type (autodetected): MIT | ||
./vendor/go.uber.org/zap/LICENSE.txt: | ||
-------------------------------------------------------------------- | ||
|
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.