Versions | v1.0 (td-agent3)

Storage Plugin Overview

Fluentd has 7 types of plugins: Input, Parser, Filter, Output, Formatter, Storage and Buffer. This article gives an overview of Storage Plugin.

Table of Contents


Sometimes, the plugin states for an output, a filter, and an input plugin should save into in-memory or storage or other key-value stores. Fluentd has a pluggable system called Storage that lets the plugin internal states extract to in-memory or storage or other key-value stores and re-use stored key-value pair value.

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 key-vaule store such as json file, MongoDB, Redis and so on.

Here is an example with in_dummy:

  @type dummy
  <storage awesome_path>
    @type my_custom_storage

List of Built-in Storage

List of Core Plugins with Storage support

Last updated: 2019-03-19 08:47:40 +0000

Versions | v1.0 (td-agent3)

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