-
Notifications
You must be signed in to change notification settings - Fork 5k
[8.19](backport #46779) [fbreceiver] partial fix for global paths #47829
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
base: 8.19
Are you sure you want to change the base?
Conversation
partial fix of global paths for filebeat receiver (cherry picked from commit e55e0be) # Conflicts: # filebeat/beater/crawler.go # libbeat/cfgfile/reload_test.go # libbeat/cmd/instance/beat.go # libbeat/otelbeat/oteltest/oteltest.go # x-pack/filebeat/fbreceiver/receiver_test.go
|
Cherry-pick of e55e0be has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
|
Pinging @elastic/obs-ds-hosted-services (Team:obs-ds-hosted-services) |
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
|
/test |
|
I fixed the conflicts with the PR, appreciate if I can get a secondary code review before merging. |
Proposed commit message
** For filebeatreceiver only **
Add a unique per filebeat receiver path variable. All other beats will use the global
paths.Pathsprovided byelastic-agent-libs/pathsThis is necessary for each filebeat receiver to have it's own registry in a separate directory.
This is not a complete fix for #44903 . The following paths still need to migrated to use the unique per beat path variable.
auditbeat/datastore/datastore.gofilebeat/autodiscover/builder/hints/logs.gofilebeat/cmd/generate.golibbeat/processors/cache/cache.golibbeat/processors/cache/file_store.golibbeat/processors/script/javascript/javascript.golibbeat/publisher/queue/diskqueue/config.gometricbeat/beater/metricbeat.gowinlogbeat/beater/winlogbeat.gox-pack/libbeat/persistentcache/persistentcache.gox-pack/metricbeat/module/openai/usage/usage.goChecklist
CHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Disruptive User Impact
Author's Checklist
How to test this PR locally
Unit Test
By hand
path.homeRelated issues
Use cases
Screenshots
Logs
This is an automatic backport of pull request #46779 done by [Mergify](https://mergify.com).