Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to upstream b49f90 #81

Open
wants to merge 1,156 commits into
base: master
Choose a base branch
from
Open

Update to upstream b49f90 #81

wants to merge 1,156 commits into from

Conversation

yashtewari
Copy link

Upstream reference: elastic@b49f904

ManojS-shetty and others added 29 commits February 1, 2022 19:28
* 8.0.0-rc2 Changelog (elastic#30112)

(cherry picked from commit 9040ee1)

* Forward port 7.17.0 changelog to 8.0 (elastic#30133)

* docs: Prepare Changelog for 7.17.0 (elastic#30111)

* docs: Close changelog for 7.17.0

* Fix entries that did not make the BC

* Missing base docker image change

* Clean up breaking changes

* More clean up breaking changes

* Remove empty sections

Co-authored-by: Andres Rodriguez <[email protected]>
(cherry picked from commit 3026dfd)

* Addiional cleanup

* Addiional cleanup

* Additional cleanup

* Unsaved file

Co-authored-by: Elastic Machine <[email protected]>
(cherry picked from commit 3b14388)

* Additional cleanup
…ndalone mode (elastic#30087)

## What does this PR do?

This PR adds support for loading external configuration files to load inputs when running Agent in standalone mode.
Users have to put their configuration files into `{path.config}/inputs.d` with the extension `yml`.

When it is configured, Agent takes the `inputs` configuration from the last standalone configuration and appends the inputs from the external configuration files to it. When the standalone configurations are reloaded, external input configurations are reloaded as well.

The external configuration file must include `inputs`, otherwise the file is invalid. Example for correct file:

```yaml
inputs:
- data_stream:
    dataset: system.auth
    type: logs
  id: logfile-system.auth-my-id
  paths:
  - /var/log/auth.log*
  use_output: default
```

## Why is it important?

Users can configure external configuration files, similar to Filebeat. So managing configuration can be done by Git or Chef instead of Fleet.
This commit removes the build of the macOS preference panels for Filebeat,
Auditbeat, Metricbeat, heartbeat. This artifact was never released
officially and was unsupported. We do not have any tests in place to
assert that the new version of macOS doesn't break the preference panel.

Remove the code related to building DMG images, this was only required
to package the preference panel.

Fixes: elastic#30003
…29936)

Fix issues when compiling beats under macOS 12.1 Monterey.

Remove these errors:

```
# github.com/shirou/gopsutil/disk
iostat_darwin.c:28:2: warning: 'IOMasterPort' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:132:1: note: 'IOMasterPort' has been explicitly marked deprecated here
# github.com/shirou/gopsutil/cpu
../../../go/pkg/mod/github.com/shirou/[email protected]+incompatible/cpu/cpu_darwin_cgo.go:13:5: warning: 'TARGET_OS_MAC' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
exec: go run /Users/ph/src/beats/x-pack/metricbeat/scripts/msetlists/main.go
```
…ng (elastic#30148)

Co-authored-by: apmmachine <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Fix loop while reading from standalone evtx file
- Moved stop variable and check to outer loop

Co-authored-by: Taylor Swanson <[email protected]>
This reverts commit e887c1a, reversing
changes made to 0d322bf.
* Revert elastic#29031

This revert the code of the APM Instrumentation of the Elastic Agent.
To unblock the build of and the CI for other team. This would require
more investigation to really understand the problem.

Fixes elastic/fleet-server#1129

* fix make update

* fix linter
* Create elastic-agent-pull-requests.yml
…astic#29712)

Stop accepting connections after tcp/unix socket is closed. This will suppress debug messages for net.ErrClosed.

    2021-12-22T13:49:04.151Z	INFO	[tcp]	streaming/listener.go:172	StoppingTCPserver	{"address": "0.0.0.0:7000"}
    2021-12-22T13:49:04.151Z	DEBUG	[tcp]	streaming/listener.go:129	Can not accept the connection	{"address": "0.0.0.0:7000", "error": "accept tcp [::]:7000: use of closed network connection"}
Some of the processors that are configured with a target field didn't
support special cases with the target field is a `@timestamp` or a
`@metadata` sub-field. This change is to make it consistent across
processors or to document why the processor does not need this change.

Also added tests for each processor that is supposed to support metadata as a target.
…agent standalone (elastic#30054)

* update doc and manifest for metricbeat & elastic-agent standalone

Signed-off-by: Tetiana Kravchenko <[email protected]>

* add comment to add bearer_token_file, ssl.certificate_authorities; increase mem requests & limits

Signed-off-by: Tetiana Kravchenko <[email protected]>

* align standalone configs

Signed-off-by: Tetiana Kravchenko <[email protected]>

* update comments, metricbeat doc according to elastic/observability-docs#1498

Signed-off-by: Tetiana Kravchenko <[email protected]>

* fix linting

Signed-off-by: Tetiana Kravchenko <[email protected]>

* add a comment about https for kube-state-metrics

Signed-off-by: Tetiana Kravchenko <[email protected]>

* add changelog

Signed-off-by: Tetiana Kravchenko <[email protected]>

* Update CHANGELOG.next.asciidoc

* add note about older versions; fix typo

Signed-off-by: Tetiana Kravchenko <[email protected]>
…lastic#30164)

* adjust elasticsearch/audit fileset

Signed-off-by: Tetiana Kravchenko <[email protected]>

* fix formatting

Signed-off-by: Tetiana Kravchenko <[email protected]>

* adjust drop condition; revert test case for docker

Signed-off-by: Tetiana Kravchenko <[email protected]>

* fix typos

Signed-off-by: Tetiana Kravchenko <[email protected]>

* remove 'remove' of user.name field in pipeline-json for elasticsearch/audit

Signed-off-by: Tetiana Kravchenko <[email protected]>
The docs show `id` but the field is named `tag`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.