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

Parameters

path

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

mode

Specify file access mode. Default is 0644.

dir_mode

Specify directory access mode. Default is 0755.

pretty_print

Output human readable formatted json. Default is false.

Attributes

conf.arg

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

<storage awesome_path>
  @type local
</storage>
<system>
  root_dir tmp
</system>

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: 2018-11-16 18:18:16 +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.