Versions | v1.0 (td-agent3)

local Storage Plugin

The local storage plugin stores the key-value into json file in local storage.

Table of Contents



Specify path name to save key-value pair. Default is nil.


Specify file access mode. Default is 0644.


Specify directory access mode. Default is 0755.


Output human readable formatted json. Default is false.



Note that conf.arg is also to be able to use alternative path parameter.

<storage awesome_path>
  @type local
  root_dir tmp

will save internal states, which are handled by storage_local, under tmp directory.

Note: Specifying filepath in path parameter does not support multiworkers feature. Instead, you should specify directory there.

Last updated: 2019-03-23 17:14:43 +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.