Storage Plugins

Fluentd has eight (8) types of plugins:

This article gives an overview of Storage Plugin.

Overview

Sometimes, the input/filter/output plugin needs to save its internal state in memory, storage or key-value store. Fluentd has a pluggable system called Storage that lets a plugin store and reuse its internal state as key-value pairs.

How To Use

For an input, an output, and filter plugin that supports Storage, the <storage> directive can be used to store key-value pair into the a key-value store such as JSON file, MongoDB, Redis and so on.

Here is an example with in_sample:

<source>
@type sample
tag docs.fluentd.storage
<storage awesome_path>
@type my_custom_storage
</storage>
</source>

List of Built-in Storage

List of Core Plugins with Storage support

If this article is incorrect or outdated, or omits critical information, please let us know. Fluentd is an open-source project under Cloud Native Computing Foundation (CNCF). All components are available under the Apache 2 License.