forked from elastic/elastic-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
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 event logger configuration via Fleet #1
Closed
belimawr
wants to merge
136
commits into
event-logger-for-process
from
changing-logging-config-via-fleet
Closed
Update event logger configuration via Fleet #1
belimawr
wants to merge
136
commits into
event-logger-for-process
from
changing-logging-config-via-fleet
Conversation
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
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
After we create release branches we still need to maintain the right package and test versions using the Github action on demand.
This commit partially reverts changes from elastic#4836. Reson behind this is that the selected CI pipelines are defined as required checks for PR and if the pipeline is not triggered then PR's that change only files under the ignored list will not be able to get merged. Signed-off-by: Alexandros Sapranidis <[email protected]>
So, we can use the automation for version updates.
….0 (elastic#4839) * Bump github.com/elastic/elastic-agent-autodiscover from 0.6.14 to 0.7.0 Bumps [github.com/elastic/elastic-agent-autodiscover](https://github.com/elastic/elastic-agent-autodiscover) from 0.6.14 to 0.7.0. - [Release notes](https://github.com/elastic/elastic-agent-autodiscover/releases) - [Changelog](https://github.com/elastic/elastic-agent-autodiscover/blob/main/CHANGELOG.md) - [Commits](elastic/elastic-agent-autodiscover@v0.6.14...v0.7.0) --- updated-dependencies: - dependency-name: github.com/elastic/elastic-agent-autodiscover dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update NOTICE.txt --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
This is required when interacting with Git
…4872) The mage target now requires to be run on a release branch.
…c#4840) * Bump github.com/elastic/go-docappender/v2 from 2.1.2 to 2.1.3 Bumps [github.com/elastic/go-docappender/v2](https://github.com/elastic/go-docappender) from 2.1.2 to 2.1.3. - [Release notes](https://github.com/elastic/go-docappender/releases) - [Commits](elastic/go-docappender@v2.1.2...v2.1.3) --- updated-dependencies: - dependency-name: github.com/elastic/go-docappender/v2 dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Update NOTICE.txt --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
…elastic#4856) Bumps [github.com/elastic/elastic-agent-client/v7](https://github.com/elastic/elastic-agent-client) from 7.10.0 to 7.11.0. - [Release notes](https://github.com/elastic/elastic-agent-client/releases) - [Commits](elastic/elastic-agent-client@v7.10.0...v7.11.0) --- updated-dependencies: - dependency-name: github.com/elastic/elastic-agent-client/v7 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
….10.2 (elastic#4780) * --- updated-dependencies: - dependency-name: github.com/elastic/elastic-agent-system-metrics dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Update NOTICE.txt --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
These files are used for picking agent versions in integration tests. The content is based on responses from https://www.elastic.co/api/product_versions and https://snapshots.elastic.co The current update is generated based on the following requirements: Package version: 8.15.0 ```json { "UpgradeToVersion": "8.15.0", "CurrentMajors": 1, "PreviousMajors": 1, "PreviousMinors": 2, "SnapshotBranches": [ "8.14", "8.13", "7.17" ] } ``` Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Bumps [updatecli/updatecli-action](https://github.com/updatecli/updatecli-action) from 2.58.0 to 2.59.0. - [Release notes](https://github.com/updatecli/updatecli-action/releases) - [Commits](updatecli/updatecli-action@fa41baa...4922d58) --- updated-dependencies: - dependency-name: updatecli/updatecli-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…lastic#4878) * Bump github.com/elastic/elastic-transport-go/v8 from 8.5.0 to 8.6.0 Bumps [github.com/elastic/elastic-transport-go/v8](https://github.com/elastic/elastic-transport-go) from 8.5.0 to 8.6.0. - [Commits](elastic/elastic-transport-go@v8.5.0...v8.6.0) --- updated-dependencies: - dependency-name: github.com/elastic/elastic-transport-go/v8 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update NOTICE.txt --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
…lastic#4857) * Bump the otel-dependencies group across 1 directory with 49 updates Bumps the otel-dependencies group with 19 updates in the / directory: | Package | From | To | | --- | --- | --- | | [github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticsearchexporter](https://github.com/open-telemetry/opentelemetry-collector-contrib) | `0.101.0` | `0.102.0` | | [github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter](https://github.com/open-telemetry/opentelemetry-collector-contrib) | `0.101.0` | `0.102.0` | | [github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor](https://github.com/open-telemetry/opentelemetry-collector-contrib) | `0.101.0` | `0.102.0` | | [github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor](https://github.com/open-telemetry/opentelemetry-collector-contrib) | `0.101.0` | `0.102.0` | | [github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor](https://github.com/open-telemetry/opentelemetry-collector-contrib) | `0.101.0` | `0.102.0` | | [github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor](https://github.com/open-telemetry/opentelemetry-collector-contrib) | `0.101.0` | `0.102.0` | | [github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver](https://github.com/open-telemetry/opentelemetry-collector-contrib) | `0.101.0` | `0.102.0` | | [go.opentelemetry.io/collector/confmap/converter/expandconverter](https://github.com/open-telemetry/opentelemetry-collector) | `0.101.0` | `0.102.1` | | [go.opentelemetry.io/collector/confmap/provider/envprovider](https://github.com/open-telemetry/opentelemetry-collector) | `0.101.0` | `0.102.1` | | [go.opentelemetry.io/collector/confmap/provider/fileprovider](https://github.com/open-telemetry/opentelemetry-collector) | `0.101.0` | `0.102.1` | | [go.opentelemetry.io/collector/confmap/provider/httpprovider](https://github.com/open-telemetry/opentelemetry-collector) | `0.101.0` | `0.102.1` | | [go.opentelemetry.io/collector/confmap/provider/httpsprovider](https://github.com/open-telemetry/opentelemetry-collector) | `0.101.0` | `0.102.1` | | [go.opentelemetry.io/collector/confmap/provider/yamlprovider](https://github.com/open-telemetry/opentelemetry-collector) | `0.101.0` | `0.102.1` | | [go.opentelemetry.io/collector/exporter/debugexporter](https://github.com/open-telemetry/opentelemetry-collector) | `0.101.0` | `0.102.1` | | [go.opentelemetry.io/collector/exporter/otlpexporter](https://github.com/open-telemetry/opentelemetry-collector) | `0.101.0` | `0.102.1` | | [go.opentelemetry.io/collector/extension/memorylimiterextension](https://github.com/open-telemetry/opentelemetry-collector) | `0.101.0` | `0.102.1` | | [go.opentelemetry.io/collector/otelcol](https://github.com/open-telemetry/opentelemetry-collector) | `0.101.0` | `0.102.1` | | [go.opentelemetry.io/collector/processor/batchprocessor](https://github.com/open-telemetry/opentelemetry-collector) | `0.101.0` | `0.102.1` | | [go.opentelemetry.io/collector/receiver/otlpreceiver](https://github.com/open-telemetry/opentelemetry-collector) | `0.101.0` | `0.102.1` | Updates `github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticsearchexporter` from 0.101.0 to 0.102.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector-contrib@v0.101.0...v0.102.0) Updates `github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter` from 0.101.0 to 0.102.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector-contrib@v0.101.0...v0.102.0) Updates `github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor` from 0.101.0 to 0.102.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector-contrib@v0.101.0...v0.102.0) Updates `github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor` from 0.101.0 to 0.102.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector-contrib@v0.101.0...v0.102.0) Updates `github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor` from 0.101.0 to 0.102.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector-contrib@v0.101.0...v0.102.0) Updates `github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor` from 0.101.0 to 0.102.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector-contrib@v0.101.0...v0.102.0) Updates `github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver` from 0.101.0 to 0.102.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector-contrib@v0.101.0...v0.102.0) Updates `go.opentelemetry.io/collector/component` from 0.101.0 to 0.102.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.0) Updates `go.opentelemetry.io/collector/confmap` from 0.101.0 to 0.102.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.0) Updates `go.opentelemetry.io/collector/confmap/converter/expandconverter` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/confmap/provider/envprovider` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/confmap/provider/fileprovider` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/confmap/provider/httpprovider` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/confmap/provider/httpsprovider` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/confmap/provider/yamlprovider` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/exporter` from 0.101.0 to 0.102.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.0) Updates `go.opentelemetry.io/collector/exporter/debugexporter` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/exporter/otlpexporter` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/extension` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/extension/memorylimiterextension` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/featuregate` from 1.8.0 to 1.9.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@pdata/v1.8.0...pdata/v1.9.0) Updates `go.opentelemetry.io/collector/otelcol` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/processor` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/processor/batchprocessor` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/receiver` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/receiver/otlpreceiver` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `github.com/open-telemetry/opentelemetry-collector-contrib/internal/common` from 0.101.0 to 0.102.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector-contrib@v0.101.0...v0.102.0) Updates `github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal` from 0.101.0 to 0.102.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector-contrib@v0.101.0...v0.102.0) Updates `github.com/open-telemetry/opentelemetry-collector-contrib/internal/filter` from 0.101.0 to 0.102.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector-contrib@v0.101.0...v0.102.0) Updates `github.com/open-telemetry/opentelemetry-collector-contrib/internal/sharedcomponent` from 0.101.0 to 0.102.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector-contrib@v0.101.0...v0.102.0) Updates `github.com/open-telemetry/opentelemetry-collector-contrib/pkg/ottl` from 0.101.0 to 0.102.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector-contrib@v0.101.0...v0.102.0) Updates `github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil` from 0.101.0 to 0.102.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector-contrib@v0.101.0...v0.102.0) Updates `github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza` from 0.101.0 to 0.102.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector-contrib@v0.101.0...v0.102.0) Updates `go.opentelemetry.io/collector/config/configauth` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/config/configcompression` from 1.8.0 to 1.9.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@pdata/v1.8.0...pdata/v1.9.0) Updates `go.opentelemetry.io/collector/config/configgrpc` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/config/confighttp` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/config/confignet` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/config/configopaque` from 1.8.0 to 1.9.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@pdata/v1.8.0...pdata/v1.9.0) Updates `go.opentelemetry.io/collector/config/configretry` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/config/configtelemetry` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/config/configtls` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/config/internal` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/connector` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/consumer` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/extension/auth` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/pdata` from 1.8.0 to 1.9.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@pdata/v1.8.0...pdata/v1.9.0) Updates `go.opentelemetry.io/collector/semconv` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) Updates `go.opentelemetry.io/collector/service` from 0.101.0 to 0.102.1 - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](open-telemetry/opentelemetry-collector@v0.101.0...v0.102.1) --- updated-dependencies: - dependency-name: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/elasticsearchexporter dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/filelogreceiver dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/component dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/confmap dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/confmap/converter/expandconverter dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/confmap/provider/envprovider dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/confmap/provider/fileprovider dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/confmap/provider/httpprovider dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/confmap/provider/httpsprovider dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/confmap/provider/yamlprovider dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/exporter dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/exporter/debugexporter dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/exporter/otlpexporter dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/extension dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/extension/memorylimiterextension dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/featuregate dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/otelcol dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/processor dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/processor/batchprocessor dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/receiver dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/receiver/otlpreceiver dependency-type: direct:production update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: github.com/open-telemetry/opentelemetry-collector-contrib/internal/common dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: github.com/open-telemetry/opentelemetry-collector-contrib/internal/filter dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: github.com/open-telemetry/opentelemetry-collector-contrib/internal/sharedcomponent dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/ottl dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/config/configauth dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/config/configcompression dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/config/configgrpc dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/config/confighttp dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/config/confignet dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/config/configopaque dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/config/configretry dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/config/configtelemetry dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/config/configtls dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/config/internal dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/connector dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/consumer dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/extension/auth dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/pdata dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/semconv dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies - dependency-name: go.opentelemetry.io/collector/service dependency-type: indirect update-type: version-update:semver-minor dependency-group: otel-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> * Update NOTICE.txt * Update otel README.md * cleanup --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Co-authored-by: michel-laterman <[email protected]>
…sociated with it (elastic#4834) * Wait on the watcher at startup instead of releasing. * Add changelog. * Update changelog/fragments/1717185708-Stop-creating-a-zombie-process-on-each-restart.yaml Co-authored-by: Blake Rouse <[email protected]> --------- Co-authored-by: Blake Rouse <[email protected]>
These files are used for picking agent versions in integration tests. The content is based on responses from https://www.elastic.co/api/product_versions and https://snapshots.elastic.co The current update is generated based on the following requirements: Package version: 8.15.0 ```json { "UpgradeToVersion": "8.15.0", "CurrentMajors": 1, "PreviousMajors": 1, "PreviousMinors": 2, "SnapshotBranches": [ "8.14", "8.13", "7.17" ] } ``` Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Agent/beats grpc comms over domain socket/named pipe * Add changelog fragment * Fix log message typo Co-authored-by: Leszek Kubik <[email protected]> * Implement domain socket/named pipe support for connection info endpoint * Remove fmt.Print from test * Remove leftover commented line from utz * Fix windows related utz * format imports in one test file * Address code review * Set Agent RPC to use domain sockets/named pipes by default. Update the configuration struct based on code review feedback * Adjut grpc port from int16 to int32. Adjust unit tests * Make local rpc socket name configurable * Fail on empty local socket address * Remove default socket name * Use TCP gRPC for comms and local (domain socket/named pipe) for connection info server. * Rollback the unit test changes, because the local gRPC configuration is disabled --------- Co-authored-by: Pierre HILBERT <[email protected]> Co-authored-by: Leszek Kubik <[email protected]>
…astic#4877) * Bump github.com/elastic/go-elasticsearch/v8 from 8.13.1 to 8.14.0 Bumps [github.com/elastic/go-elasticsearch/v8](https://github.com/elastic/go-elasticsearch) from 8.13.1 to 8.14.0. - [Release notes](https://github.com/elastic/go-elasticsearch/releases) - [Changelog](https://github.com/elastic/go-elasticsearch/blob/main/CHANGELOG.md) - [Commits](elastic/go-elasticsearch@v8.13.1...v8.14.0) --- updated-dependencies: - dependency-name: github.com/elastic/go-elasticsearch/v8 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update NOTICE.txt --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Co-authored-by: Craig MacKenzie <[email protected]>
* chore: Update from dockerfiles Made with ❤️️ by updatecli * chore: Update version.asciidoc Made with ❤️️ by updatecli * chore: Update .golangci.yml Made with ❤️️ by updatecli * chore: Update .go-version Made with ❤️️ by updatecli * Update changelog. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Craig MacKenzie <[email protected]>
This commit introduces a new logger core, used when collecting logs from sub process, that can be configured through `agent.logging.event_data` and is used to log any message that contains the whole event or could contain any sensitive data. This is accomplished by adding `log.type: event` to the log entry. The logger core is responsible for filtering the log entries and directing them to the correct files.
Signed-off-by: ChrsMark <[email protected]> Co-authored-by: Michal Pristas <[email protected]>
* Add Ubuntu 24.04 to integration testing. * Fix unit test. * Add -amd64 to end.
…c#4900) * Bump github.com/elastic/go-docappender/v2 from 2.1.3 to 2.1.4 Bumps [github.com/elastic/go-docappender/v2](https://github.com/elastic/go-docappender) from 2.1.3 to 2.1.4. - [Release notes](https://github.com/elastic/go-docappender/releases) - [Commits](elastic/go-docappender@v2.1.3...v2.1.4) --- updated-dependencies: - dependency-name: github.com/elastic/go-docappender/v2 dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Update NOTICE.txt --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
…stic#4901) * Bump github.com/elastic/elastic-agent-libs from 0.9.11 to 0.9.12 Bumps [github.com/elastic/elastic-agent-libs](https://github.com/elastic/elastic-agent-libs) from 0.9.11 to 0.9.12. - [Release notes](https://github.com/elastic/elastic-agent-libs/releases) - [Commits](elastic/elastic-agent-libs@v0.9.11...v0.9.12) --- updated-dependencies: - dependency-name: github.com/elastic/elastic-agent-libs dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Update NOTICE.txt --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
…tic#4621) * Work on privileged/unprivileged command. * Add integration tests for switching between unprivileged and privileged mode. * Fix upstream rename. * Add changelog. * Switch to new install privileged/unprivileged checks. * Adjust FixPermissions to take ownership back to Administrators. * Code review feedback. * Fix service component check. Support switching on macOS. * Fix lint. * Update to constant. * Add tests for unprivileged switch failure with endpoint installed. * Fix runtime check to keep runtime spec. * Fix test contains. * Only run test on linux. * Linux only, more.
* add new handlePolicyChange_FleetClientSettings unit tests * Support CA and certificates for agent proxy config * add SSL config to Policy templates for fleetservertest * add simple TLS proxy test * Add mTLS proxy integration test * fix permissions on temp dir for proxy URL integration tests * cleanup ProxyURL integration tests * Fix mock fleet template policy render * Fix temp dir path for TestProxyURL on Windows * changelogs * Implement mTLS test with 2 separate CAs * Create test for TLS at enroll and mTLS in policy * fix unit tests * Run ProxyURL as privileged on windows * Move cert, CA, Key options to EnrollOpts
* Fix elastic#4907. * Add changelog. * Apply suggestions from code review Co-authored-by: Julien Lind <[email protected]> --------- Co-authored-by: Julien Lind <[email protected]>
Since we transitioned to `agentbeat` we now need to use `setcap` on a different binary.
This includes removal of TestStandaloneDowngradeToSpecificSnapshotBuild integration test.
belimawr
force-pushed
the
changing-logging-config-via-fleet
branch
from
July 5, 2024 21:54
9ccb785
to
9e5360b
Compare
If Fleet sends an event logging output configuration different than the one that's running, save it to the encrypted store and re-exec the Elastic-Agent to use the new configuration.
belimawr
force-pushed
the
changing-logging-config-via-fleet
branch
from
July 5, 2024 21:59
60d8618
to
e71a6a4
Compare
…astic#5073) This significantly reduces the size of the image.
…elasticinframetricsprocessor from 0.5.1 to 0.6.0 (elastic#5074) * Bump github.com/elastic/opentelemetry-collector-components/processor/elasticinframetricsprocessor Bumps [github.com/elastic/opentelemetry-collector-components/processor/elasticinframetricsprocessor](https://github.com/elastic/opentelemetry-collector-components) from 0.5.1 to 0.6.0. - [Release notes](https://github.com/elastic/opentelemetry-collector-components/releases) - [Commits](elastic/opentelemetry-collector-components@processor/elasticinframetricsprocessor/v0.5.1...processor/elasticinframetricsprocessor/v0.6.0) --- updated-dependencies: - dependency-name: github.com/elastic/opentelemetry-collector-components/processor/elasticinframetricsprocessor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update NOTICE.txt * Update otel README.md --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
…utput units as proxy_url (elastic#5044) Inject proxy_url value into endpoint's elasticsearch output configuration, and enpoint/apm's fleet configuration if the attribute is missing and HTTPS_PROXY/HTTP_PROXY env var is set. The first host value is used to determine if the HTTPS_PROXY, or HTTP_PROXY value is injected. If that can't be used to determine then the HTTPS_PROXY is preferred. No Injection occurs if the proxy_url key exists, proxy_disable: true is set, or the env vars are empty.
On CI the enrol performed by TestEventLogOutputConfiguredViaFleet is failing because there are already configuration files from Elastic-Agent in the machine. That is probably due something left behind from other tests. This commit solves it by forcing enrol, which will not prompt for confirmation and will overwrite any existing configuration.
These files are used for picking agent versions in integration tests. The content is based on responses from https://www.elastic.co/api/product_versions and https://snapshots.elastic.co The current update is generated based on the following requirements: Package version: 8.15.0 ```json { "UpgradeToVersion": "8.15.0", "CurrentMajors": 1, "PreviousMajors": 1, "PreviousMinors": 2, "SnapshotBranches": [ "8.15", "8.14", "7.17" ] } ``` Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…lastic#5090) * updating makefile check-ci
* [Release] update version * Skip TestUpgradeBrokenPackageVersion until version bump is complete --------- Signed-off-by: Alexandros Sapranidis <[email protected]> Co-authored-by: elasticmachine <[email protected]> Co-authored-by: Pierre HILBERT <[email protected]> Co-authored-by: Alexandros Sapranidis <[email protected]> Co-authored-by: Julien Lind <[email protected]> Co-authored-by: julienlind <[email protected]> Co-authored-by: Denis Rechkunov <[email protected]> Co-authored-by: Paolo Chila <[email protected]>
* feat: upgrade go agent to v2 go.elastic.co/apm v1 has been deprecated for a while. Update the dependency to v2. * lint: reorder imports to fix linter issues * build: run go mod tidy * lint: remove duplicate go.mod lines * lint: keep go.elastic.co/apm version unchanged
…lastic#5099) Go agent has been completely removed from the module graph with this. Update notice file.
go mod
go mod
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
If Fleet sends an event logging output configuration different than the one that's running, save it to the encrypted store and re-exec the Elastic-Agent to use the new configuration.
This PR adds the ability to receive event logger configuration via Fleet. Previously only the log level was received via Fleet and persisted.
Fleet can store the logging configuration in the policy via the
overrides
option, whenever the Elastic-Agent receives the policy (including at startup), it correctly parses this configuration. This PR enable those values to be used to configure the event logger.When a policy is received the policy handler compares
agent.logging.event_data.to_stderr
andagent.logging.event_data.to_files
with it's current values, if the policy contains different values, they're persisted in the disk store, and the Elastic-Agent re-execs. When it re-starts it reads the new values from the persistent store and applies them.Note fore reviewers
Because this PR enables changing the log output (from disk to stderr or vice versa) I believe it's better to just re-start the Elastic-Agent instead of trying to do it at runtime. This will help to keep the logs consistent and avoid any possible race condition or the necessity to lock the logger while stopping/starting new outputs.
Why is it important?
Once elastic#4549 gets merged the event logger won't be configurable via Fleet, this PR enables their configuration via Fleet.
Checklist
./changelog/fragments
using the changelog toolDisruptive User Impact
How to test this PR locally
Related issues
Questions to ask yourself