Closed josh-padnick closed 8 years ago
Sorry, this had nothing to do with this plugin. I didn't realize that fluentd matches the first <match>
rule it can in the td-agent.conf
. Since I was matching my first stanza, the one I get cared about was getting ignored.
I've been struggling to get this plugin working successfully. I'd like to be able to debug what's going on, but I can't seem to find the plugin's log entries anywhere.
In the code, I see entries like https://github.com/patant/fluent-plugin-loggly/blob/master/lib/fluent/plugin/out_loggly.rb#L30. But in the
/var/log/td-agent/td-agent.log
I see none of these entries.I'm outputting logs both to a local file and to Loggly. The local file works fine but loggly output is not working. Any thoughts on how I can resolve this?
Here's my
td-agent.conf
(In my actual file, I have#comments
which I've removed below):I've also confirmed that directly calling loggly's API via
curl
works fine from my box. I've also successfully installed thefluent-plugin-loggly
gem by running it in a Docker container with thisDockerfile
:At this point, I may just use the generic exec plugin, but that seems like a shame given that all of this nice work is done here. Thanks for your input!