From 0becc11f90db247f63c83c31c00bda51b01d1500 Mon Sep 17 00:00:00 2001 From: Shaunak Kashyap Date: Mon, 23 Nov 2020 15:14:10 +0530 Subject: [PATCH] Add documentation for CloudFoundry application metadata persistent cache (#22669) * Add documentation for CF application metadata persistent cache * Add explanation for metadata persistent cache --- .../docs/add_cloudfoundry_metadata.asciidoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/x-pack/libbeat/processors/add_cloudfoundry_metadata/docs/add_cloudfoundry_metadata.asciidoc b/x-pack/libbeat/processors/add_cloudfoundry_metadata/docs/add_cloudfoundry_metadata.asciidoc index e5123ae75a0..d54a567f3f5 100644 --- a/x-pack/libbeat/processors/add_cloudfoundry_metadata/docs/add_cloudfoundry_metadata.asciidoc +++ b/x-pack/libbeat/processors/add_cloudfoundry_metadata/docs/add_cloudfoundry_metadata.asciidoc @@ -25,6 +25,10 @@ metadata in all events from the firehose since version 2.8. In these cases the metadata in the events is used, and `add_cloudfoundry_metadata` processor doesn't modify these fields. +For efficient annotation, application metadata retrieved by the Cloud Foundry +client is stored in a persistent cache on the filesystem under the `path.data` +directory. This is done so the metadata can persist across restarts of {beatname_uc}. +For control over this cache, use the `cache_duration` and `cache_retry_delay` settings. [source,yaml] -------------------------------------------------------------------------------