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

[libbeat] Cache processor docs and memory fixes. #38561

Merged
merged 22 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
6f0019a
Fix write_period option name to match documentation
marc-gr Mar 22, 2024
9a91a1e
Change naming to write_interval
marc-gr Mar 25, 2024
f85f559
Merge branch 'main' into fix/cache-docs
marc-gr Mar 25, 2024
09315aa
Fix expiries heap cleanup on partial file writes
marc-gr Mar 25, 2024
b329901
Fix expiries infinite growth when large TTLs and recurring keys are c…
marc-gr Mar 25, 2024
d881e0e
Fix linting errors
marc-gr Mar 25, 2024
149aa9b
Merge branch 'main' into fix/cache-docs
marc-gr Mar 25, 2024
4d64a50
Add changelog entries
marc-gr Mar 25, 2024
dd4c956
Merge branch 'main' into fix/cache-docs
marc-gr Mar 25, 2024
00e7bde
Revert "Fix linting errors"
marc-gr Mar 26, 2024
c639c1e
Use heap.Fix instead of heap.Remove+heap.Push
marc-gr Mar 26, 2024
441d9cc
Add tests for the new functionality
marc-gr Mar 26, 2024
f0576fe
Merge branch 'main' into fix/cache-docs
marc-gr Mar 26, 2024
cd07008
Merge branch 'main' into fix/cache-docs
marc-gr Mar 26, 2024
2bd167c
Merge branch 'main' into fix/cache-docs
marc-gr Mar 27, 2024
efbf245
Merge branch 'main' into fix/cache-docs
marc-gr Mar 27, 2024
2e18707
Merge branch 'main' into fix/cache-docs
marc-gr Mar 27, 2024
12346cc
Merge branch 'main' into fix/cache-docs
marc-gr Mar 27, 2024
de7f23b
Merge branch 'main' into fix/cache-docs
marc-gr Apr 2, 2024
312fe92
Merge branch 'main' into fix/cache-docs
marc-gr Apr 3, 2024
3a0423a
Merge branch 'main' into fix/cache-docs
marc-gr Apr 5, 2024
4575de0
Merge branch 'main' into fix/cache-docs
andrewkroh Apr 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ fields added to events containing the Beats version. {pull}37553[37553]
- Lower logging level to debug when attempting to configure beats with unknown fields from autodiscovered events/environments {pull}[37816][37816]
- Set timeout of 1 minute for FQDN requests {pull}37756[37756]
- Fix the paths in the .cmd script added to the path by the Windows MSI to point to the new C:\Program Files installation location. https://github.com/elastic/elastic-stack-installers/pull/238
- Change cache processor option `write_interval` to `write_period` to match documentation. {pull}38561[38561]

*Auditbeat*

Expand Down
2 changes: 1 addition & 1 deletion libbeat/processors/cache/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ type memConfig struct {

type fileConfig struct {
ID string `config:"id" validate:"required"`
WriteOutEvery time.Duration `config:"write_interval"`
WriteOutEvery time.Duration `config:"write_period"`
}

func (cfg *storeConfig) Validate() error {
Expand Down
2 changes: 1 addition & 1 deletion libbeat/processors/cache/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ put:
backend:
file:
id: aidmaster
write_interval: 15m
write_period: 15m
put:
ttl: 168h
key_field: crowdstrike.aid
Expand Down
Loading