Skip to content

Commit

Permalink
Fix write_period option name to match documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-gr committed Mar 22, 2024
1 parent 06a11e7 commit 6f0019a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
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

0 comments on commit 6f0019a

Please sign in to comment.