-
Notifications
You must be signed in to change notification settings - Fork 5k
[9.1](backport #46779) [fbreceiver] partial fix for global paths #46842
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
Conversation
partial fix of global paths for filebeat receiver (cherry picked from commit e55e0be) # Conflicts: # filebeat/beater/diagnostics.go # filebeat/beater/filebeat.go # libbeat/cfgfile/reload_integration_test.go # libbeat/cmd/instance/beat.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 |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
Pinging @elastic/obs-ds-hosted-services (Team:obs-ds-hosted-services) |
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
This pull request has not been merged yet. Could you please review and merge it @leehinman? 🙏 |
closing since #46402 did not get backported as well as others that would |
Proposed commit message
** For filebeatreceiver only **
Add a unique per filebeat receiver path variable. All other beats will use the global
paths.Paths
provided byelastic-agent-libs/paths
This 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.go
filebeat/autodiscover/builder/hints/logs.go
filebeat/cmd/generate.go
libbeat/processors/cache/cache.go
libbeat/processors/cache/file_store.go
libbeat/processors/script/javascript/javascript.go
libbeat/publisher/queue/diskqueue/config.go
metricbeat/beater/metricbeat.go
winlogbeat/beater/winlogbeat.go
x-pack/libbeat/persistentcache/persistentcache.go
x-pack/metricbeat/module/openai/usage/usage.go
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Disruptive User Impact
Author's Checklist
How to test this PR locally
Unit Test
By hand
path.home
Related issues
Use cases
Screenshots
Logs
This is an automatic backport of pull request #46779 done by [Mergify](https://mergify.com).