fluent/fluentd-docs

Getting error: BUG: both type and conf are not specified (ArgumentError)

adamcheney opened this issue · 5 comments

I'm trying to use a storage plugin within the systemd plugin (https://github.com/reevoo/fluent-plugin-systemd). My conf looks like this:

    <source>
      @type systemd
      tag kubelet
      path /var/log/journal
      matches [{ "_SYSTEMD_UNIT": "kubelet.service" }]
      read_from_head true
      <storage kubeletpos>
        @type local
      </storage>
      <entry>
        fields_strip_underscores true
        fields_lowercase true
      </entry>
    </source>

The error I get is:

/var/lib/gems/2.3.0/gems/fluentd-1.3.2/lib/fluent/plugin_helper/storage.rb:54:in `storage_create': BUG: both type and conf are not specified (ArgumentError)

But, type is specified, right?

flixr commented

Running into the same problem here... @adamcheney did you figure out a solution?

It seems <storage kubeletpos>'s argument causes a problem.
Using <storage> is temporal solution.

flixr commented

Thanks, that seems to work.

This seems a regression. We will fix the problem