-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
Team:Elastic-Agent-Data-PlaneLabel for the Agent Data Plane teamLabel for the Agent Data Plane teambug
Description
In both
beats/libbeat/processors/cache/cache.go
Line 99 in e1d92eb
| err := os.MkdirAll(paths.Resolve(paths.Data, "cache_processor"), 0o700) |
| path := filepath.Join(paths.Resolve(paths.Data, "cache_processor"), cleanFilename(cfg.Store.File.ID)) |
There are calls to paths.Resolve to determine where the persistent cache should be written to disk. This should be modified to use:
Line 92 in 78caa87
| Paths *paths.Path // per beat paths definition |
So that each beatreceiver can have an independent cache that is correctly found on restarts. The Crowdstrike FDR datastream makes use of this processor. The processor could also be used in the "custom" section of any of the integrations.
Relates #44903
Metadata
Metadata
Assignees
Labels
Team:Elastic-Agent-Data-PlaneLabel for the Agent Data Plane teamLabel for the Agent Data Plane teambug