Skip to content

Commit

Permalink
libbeat/processors/cache: new processor
Browse files Browse the repository at this point in the history
This is the initial infrastructure for a caching metadata processor to be added.
It currently only supports in-memory caching, though both planned cache types
are configurable with the file cache being mocked by an in-memory cache.

Additional config options are added relative to the RFC, but these are
intentionally not documented at this stage.
  • Loading branch information
efd6 committed Sep 18, 2023
1 parent 9dcd8be commit 250243b
Show file tree
Hide file tree
Showing 26 changed files with 1,627 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-developer.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ The list below covers the major changes between 7.0.0-rc2 and main only.
- Skip dependabot updates for github.com/elastic/mito. {pull}36158[36158]
- Add device handling to Okta API package for entity analytics. {pull}35980[35980]
- Make Filebeat HTTPJSON input process responses sequentially. {pull}36493[36493]
- Add initial infrastructure for a caching enrichment processor. {pull}36619[36619]

==== Deprecated

Expand Down
7 changes: 7 additions & 0 deletions auditbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ grouped in the following categories:
* <<exported-fields-auditd>>
* <<exported-fields-beat-common>>
* <<exported-fields-cache>>
* <<exported-fields-cloud>>
* <<exported-fields-common>>
* <<exported-fields-docker-processor>>
Expand Down Expand Up @@ -2479,6 +2480,12 @@ type: keyword
--
[[exported-fields-cache]]
== Cache fields
Cache processor
[[exported-fields-cloud]]
== Cloud provider metadata fields
Expand Down
2 changes: 1 addition & 1 deletion auditbeat/include/fields.go

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions filebeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ grouped in the following categories:
* <<exported-fields-barracuda>>
* <<exported-fields-beat-common>>
* <<exported-fields-bluecoat>>
* <<exported-fields-cache>>
* <<exported-fields-cef>>
* <<exported-fields-cef-module>>
* <<exported-fields-checkpoint>>
Expand Down Expand Up @@ -14523,6 +14524,12 @@ type: keyword

--

[[exported-fields-cache]]
== Cache fields

Cache processor


[[exported-fields-cef]]
== Decode CEF processor fields fields

Expand Down
2 changes: 1 addition & 1 deletion filebeat/include/fields.go

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions heartbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ grouped in the following categories:
* <<exported-fields-beat-common>>
* <<exported-fields-browser>>
* <<exported-fields-cache>>
* <<exported-fields-cloud>>
* <<exported-fields-common>>
* <<exported-fields-docker-processor>>
Expand Down Expand Up @@ -241,6 +242,12 @@ type: integer
--
[[exported-fields-cache]]
== Cache fields
Cache processor
[[exported-fields-cloud]]
== Cloud provider metadata fields
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/include/fields.go

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions libbeat/processors/cache/_meta/fields.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- key: cache
title: Cache
description: >
Cache processor
fields: ~
Loading

0 comments on commit 250243b

Please sign in to comment.