Getting error: BUG: both type and conf are not specified (ArgumentError)
adamcheney opened this issue · 5 comments
adamcheney commented
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?
repeatedly commented
It seems <storage kubeletpos>
's argument causes a problem.
Using <storage>
is temporal solution.
flixr commented
Thanks, that seems to work.
repeatedly commented
This seems a regression. We will fix the problem
adamcheney commented
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, ***@***.***> 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
<#626 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIXTDQI2QNM4Y4PIEEP6WX3PSHBEBANCNFSM4HAYHHSA>
.