fluentd-docs
fluentd-docs copied to clipboard
Getting error: BUG: both type and conf are not specified (ArgumentError)
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?
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.
Thanks, that seems to work.
This seems a regression. We will fix the problem
Hi Felix - I did get a working config, but don't have it to hand right now. I'll try to take a look and get you a response...
Adam.
On Fri, 26 Apr 2019, 02:57 Felix Ruess, [email protected] wrote:
Running into the same problem here... @adamcheney https://github.com/adamcheney did you figure out a solution?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fluent/fluentd-docs/issues/626#issuecomment-486708504, or mute the thread https://github.com/notifications/unsubscribe-auth/AIXTDQI2QNM4Y4PIEEP6WX3PSHBEBANCNFSM4HAYHHSA .